Commit 592b4fb6 authored by dcw's avatar dcw

Initial revision

parent a6176167
INC = /vol/lab/include
CFLAGS = -I$(INC) -g -UDEBUGGING
TESTEXECS = mtest ctest
AUTOCRAP = mtest.* mx.* ctest.* cx.?
all: $(TESTEXECS)
clean:
/bin/rm -f *.o a.out core $(TESTEXECS) $(AUTOCRAP)
cx.c cx.h: cdata.in ../../$(ARCH)/datadec
../../$(ARCH)/datadec cx cdata.in
cx.o: cx.c cx.h
ctest.o: ctest.c cx.h
ctest: ctest.o cx.o
cc -o ctest ctest.o cx.o
mx.def mx.mod: m2data.in ../../$(ARCH)/m2datadec
../../$(ARCH)/m2datadec mx m2data.in
mx.sym: mx.def
mx.o: mx.mod mx.sym
mtest.o: mtest.mod mx.sym
mtest: mtest.o mx.o
m2c $(M2FLAGS) $(M2LINKFLAGS) -o mtest -e mtest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment