1 # Makefile for Email gateway CCL
5 # Revision 1.9 1995/04/17 09:31:34 adam
6 # Improved handling of qualifiers. Aliases or reserved words.
8 # Revision 1.8 1995/04/10 10:22:35 quinn
11 # Revision 1.7 1995/03/27 12:49:03 adam
14 # Revision 1.6 1995/02/23 08:31:58 adam
17 # Revision 1.4 1995/02/22 08:50:28 adam
18 # Definition of CPP changed.
20 # Revision 1.3 1995/02/14 10:25:55 adam
21 # The constructions 'qualifier rel term ...' implemented.
23 # Revision 1.2 1995/02/13 15:15:06 adam
24 # Added handling of qualifiers. Not finished yet.
26 # Revision 1.1 1995/02/13 12:35:20 adam
27 # First version of CCL. Qualifiers aren't handled yet.
31 #CFLAGS=-g -Wall -pedantic -ansi
34 PO=cclfind.o ccltoken.o cclerrms.o cclqual.o cclptree.o cclqfile.o
40 $(TPROG1): $(TPROG1).o $(LIB)
41 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB)
49 $(CC) -c $(DEFS) $(CFLAGS) $<
52 rm -f *.log *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist *~
57 sed '/^#Depend/q' <Makefile >Makefile.tmp
58 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
59 mv -f Makefile.tmp Makefile
62 $(CPP) $(DEFS) -M *.c >.depend
64 #GNU make style depend
65 ifeq (.depend,$(wildcard .depend))
69 #Depend --- DOT NOT DELETE THIS LINE