1 # Makefile for Email gateway CCL
5 # Revision 1.3 1995/02/14 10:25:55 adam
6 # The constructions 'qualifier rel term ...' implemented.
8 # Revision 1.2 1995/02/13 15:15:06 adam
9 # Added handling of qualifiers. Not finished yet.
11 # Revision 1.1 1995/02/13 12:35:20 adam
12 # First version of CCL. Qualifiers aren't handled yet.
16 CFLAGS=-g -Wall -pedantic -ansi
20 PO=cclfind.o ccltoken.o cclerrms.o cclqual.o cclptree.o
26 $(TPROG1): $(TPROG1).o $(LIB) ../lib/util.a
27 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a
35 $(CC) -c $(DEFS) $(CFLAGS) $<
38 rm -f *.log *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist *~
43 mv Makefile Makefile.tmp
44 sed '/^#Depend/q' <Makefile.tmp >Makefile
45 $(CPP) $(INCLUDE) -M *.c >>Makefile
49 $(CPP) $(INCLUDE) -M *.c >.depend
51 ifeq (.depend,$(wildcard .depend))
55 #Depend --- DOT NOT DELETE THIS LINE