1 # Makefile for Email gateway CCL
5 # Revision 1.1 1995/02/13 12:35:20 adam
6 # First version of CCL. Qualifiers aren't handled yet.
10 CFLAGS=-g -Wall -pedantic -ansi
14 PO=cclfind.o ccltoken.o cclerrms.o
20 $(TPROG1): $(TPROG1).o $(LIB) ../lib/util.a
21 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a
29 $(CC) -c $(DEFS) $(CFLAGS) $<
32 rm -f *.log *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist *~
37 mv Makefile Makefile.tmp
38 sed '/^#Depend/q' <Makefile.tmp >Makefile
39 $(CPP) $(INCLUDE) -M *.c >>Makefile
43 $(CPP) $(INCLUDE) -M *.c >.depend
45 ifeq (.depend,$(wildcard .depend))
49 #Depend --- DOT NOT DELETE THIS LINE