1 # FML interpreter. Europagate, 1995
3 # $Id: Makefile,v 1.15 1995/04/17 09:32:08 adam Exp $
6 INCLUDE=-I../include -I. $(REGEXINC)
8 #CFLAGS=-g -Wall -pedantic
10 DEFS=$(INCLUDE) -DUSE_GNU_REGEX=1
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 $(REGEXOBJ)
26 $(CC) -c $(DEFS) $(CFLAGS) $<
29 rm -f *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist
34 sed '/^#Depend/q' <Makefile >Makefile.tmp
35 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
36 mv -f Makefile.tmp Makefile
39 $(CPP) $(DEFS) -M *.c >.depend
41 #GNU make style depend
42 ifeq (.depend,$(wildcard .depend))
46 #Depend --- DOT NOT DELETE THIS LINE