1 # FML interpreter. Europagate, 1995
3 # $Id: Makefile,v 1.11 1995/02/23 08:32:03 adam Exp $
6 INCLUDE=-I../include -I.
8 CFLAGS=-g -Wall -pedantic
12 PO = fmltoken.o fmlmem.o fml.o fmlsym.o fmlrel.o fmlarit.o fmllist.o \
13 fmlcall.o fmlcalls.o fmlmarc.o fmlstr.o
15 all: $(LIB) $(TPROG1) $(TPROG2)
17 $(TPROG1): $(TPROG1).o $(LIB)
18 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a
26 $(CC) -c $(DEFS) $(CFLAGS) $<
29 rm -f *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist
34 mv Makefile Makefile.tmp
35 sed '/^#Depend/q' <Makefile.tmp >Makefile
36 $(CPP) $(INCLUDE) -M *.c >>Makefile
40 $(CPP) $(INCLUDE) -M *.c >.depend
42 ifeq (.depend,$(wildcard .depend))
46 #Depend --- DOT NOT DELETE THIS LINE