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