# Europagate, 1995
#
# $Log: Makefile,v $
-# Revision 1.2 1995-04-17 09:37:36 quinn
+# Revision 1.5 1996-05-22 08:35:40 adam
+# Removed CFLAGS definiton.
+#
+# Revision 1.4 1995/06/25 10:53:43 quinn
+# Smallish adjustments.
+#
+# Revision 1.3 1995/05/30 10:25:45 quinn
+# Fixed dependency control
+#
+# Revision 1.2 1995/04/17 09:37:36 quinn
# *** empty log message ***
#
# Revision 1.1 1995/04/10 10:28:16 quinn
#
SHELL=/bin/sh
INCLUDE=-I../include
-#CFLAGS=-g -Wall -pedantic -ansi
TPROG1=cclsh
LIB=../lib/ccl.a
PO=cclfind.o ccltoken.o cclerrms.o cclqual.o cclptree.o
CPP=$(CC) -E
DEFS=$(INCLUDE)
+RANLIB=ranlib
all: $(LIB)
$(LIB): $(PO)
rm -f $(LIB)
ar qc $(LIB) $(PO)
- ranlib $(LIB)
+ $(RANLIB) $(LIB)
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
depend: depend2
depend1:
- mv Makefile Makefile.tmp
- sed '/^#Depend/q' <Makefile.tmp >Makefile
- $(CPP) $(INCLUDE) -M *.c >>Makefile
- -rm Makefile.tmp
depend2:
$(CPP) $(INCLUDE) -M *.c >.depend