1 # FML interpreter. Europagate, 1995
3 # $Id: Makefile,v 1.6 1995/02/10 18:15:51 adam Exp $
6 INCLUDE=-I../include -I.
8 CFLAGS=-g -Wall -pedantic
11 PO = fmltoken.o fmlmem.o fml.o fmlsym.o fmlrel.o fmlarit.o fmllist.o \
12 fmlcall.o fmlcalls.o fmlmarc.o fmlstr.o
17 all: $(LIB) $(TPROG1) $(TPROG2)
19 $(TPROG1): $(TPROG1).o $(LIB)
20 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a
28 $(CC) -c $(DEFS) $(CFLAGS) $<
31 rm -f *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist
36 mv Makefile Makefile.tmp
37 sed '/^#Depend/q' <Makefile.tmp >Makefile
38 $(CPP) $(INCLUDE) -M *.c >>Makefile
42 $(CPP) $(INCLUDE) -M *.c >.depend
44 ifeq (.depend,$(wildcard .depend))
48 #Depend --- DOT NOT DELETE THIS LINE