Commit dbd42c58 authored by ees1dw's avatar ees1dw
Browse files

Initial revision

parent b874c09d
INC = /vol/lab/include
EXECS = datadec m2datadec
datadec_srcs = datadec.c parser.c lexer.c struct.c decs.c optimize.c
datadec_objs = datadec.o parser.o lexer.o struct.o decs.o optimize.o
m2datadec_srcs = datadec.c parser.c lexer.c struct.c m2decs.c optimize.c
m2datadec_objs = datadec.o parser.o lexer.o struct.o m2decs.o optimize.o
all: $(EXECS)
arch: $(EXECS)
cp -p $(EXECS) ../../$(ARCH)
cd ../../$(ARCH); chmod a+rx,ug+w $(EXECS)
/bin/rm -f *.o a.out core $(EXECS)
lint: lint_datadec lint_m2datadec
lint_datadec: $(datadec_srcs)
lint $(LINTFLAGS) $(datadec_srcs) >lint_datadec 2>&1
lint_m2datadec: $(m2datadec_srcs)
lint $(LINTFLAGS) $(m2datadec_srcs) >lint_m2datadec 2>&1
m2datadec: $(m2datadec_objs)
cc -g -o m2datadec $(m2datadec_objs)
datadec: $(datadec_objs)
cc -g -o datadec $(datadec_objs)
datadec.o: parser.h lexer.h struct.h optimize.h datadec.c
parser.o: lexer.h struct.h parser.h parser.c
lexer.o: lexer.h lexer.c
struct.o: struct.h struct.c
decs.o: decs.h decs.c
m2decs.o: decs.h m2decs.c
optimize.o: optimize.h struct.h optimize.c
Supports Markdown
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