X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ccl%2FMakefile;h=eb0734dd8aacdd60d756933f7b0304ca1f1c6daf;hb=4938d0c2e8f4e1eec397c2bfbbc7e23fd150c369;hp=8932443e4729c27bcd09fab5f904719c5012d8b2;hpb=98a49f6636e01e87e867688f4fb8a3b696a847ff;p=egate.git diff --git a/ccl/Makefile b/ccl/Makefile index 8932443..eb0734d 100644 --- a/ccl/Makefile +++ b/ccl/Makefile @@ -2,7 +2,33 @@ # Europagate, 1995 # # $Log: Makefile,v $ -# Revision 1.2 1995/02/13 15:15:06 adam +# Revision 1.11 1995/11/10 10:19:10 adam +# cclsh now build on 'make all'. +# +# Revision 1.10 1995/05/11 14:03:56 adam +# Changes in the reading of qualifier(s). New function: ccl_qual_fitem. +# New variable ccl_case_sensitive, which controls whether reserved +# words and field names are case sensitive or not. +# +# Revision 1.9 1995/04/17 09:31:34 adam +# Improved handling of qualifiers. Aliases or reserved words. +# +# Revision 1.8 1995/04/10 10:22:35 quinn +# Added ccl directory. +# +# Revision 1.7 1995/03/27 12:49:03 adam +# Removed CFLAGS def. +# +# Revision 1.6 1995/02/23 08:31:58 adam +# Changed header. +# +# Revision 1.4 1995/02/22 08:50:28 adam +# Definition of CPP changed. +# +# Revision 1.3 1995/02/14 10:25:55 adam +# The constructions 'qualifier rel term ...' implemented. +# +# Revision 1.2 1995/02/13 15:15:06 adam # Added handling of qualifiers. Not finished yet. # # Revision 1.1 1995/02/13 12:35:20 adam @@ -10,18 +36,17 @@ # SHELL=/bin/sh INCLUDE=-I../include -CFLAGS=-g -Wall -pedantic -ansi -CC=gcc +#CFLAGS=-g -Wall -pedantic -ansi TPROG1=cclsh LIB=../lib/ccl.a -PO=cclfind.o ccltoken.o cclerrms.o cclqual.o -CPP=cc -E +PO=cclfind.o ccltoken.o cclerrms.o cclqual.o cclptree.o cclqfile.o cclstr.o +CPP=$(CC) -E DEFS=$(INCLUDE) -all: $(TPROG1) +all: $(LIB) -$(TPROG1): $(TPROG1).o $(LIB) ../lib/util.a - $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a +$(TPROG1): $(TPROG1).o $(LIB) + $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) $(LIB): $(PO) rm -f $(LIB) @@ -37,14 +62,14 @@ clean: depend: depend2 depend1: - mv Makefile Makefile.tmp - sed '/^#Depend/q' Makefile - $(CPP) $(INCLUDE) -M *.c >>Makefile - -rm Makefile.tmp + sed '/^#Depend/q' Makefile.tmp + $(CPP) $(DEFS) -M *.c >>Makefile.tmp + mv -f Makefile.tmp Makefile depend2: - $(CPP) $(INCLUDE) -M *.c >.depend + $(CPP) $(DEFS) -M *.c >.depend +#GNU make style depend ifeq (.depend,$(wildcard .depend)) include .depend endif