X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=dict%2FMakefile;h=8fe8a4c8a3f619873b19773ef8c0eab5227485e7;hb=00f6dd34f9327e3a61fc7bf5b33099b73bde65fb;hp=cfe927c230deb18095c8a4016876d076350f086b;hpb=cf0045decc8edc53834fffc1eadf8a634cf81381;p=idzebra-moved-to-github.git diff --git a/dict/Makefile b/dict/Makefile index cfe927c..8fe8a4c 100644 --- a/dict/Makefile +++ b/dict/Makefile @@ -1,12 +1,12 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.2 1994-08-17 13:32:18 adam Exp $ +# $Id: Makefile,v 1.4 1994-09-01 17:44:05 adam Exp $ SHELL=/bin/sh INCLUDE=-I../include TPROG=dicttest -CFLAGS=-g -Wall +CFLAGS=-g -Wall -pedantic DEFS=$(INCLUDE) LIB=../lib/dict.a PO = dopen.o dclose.o drdwr.o open.o close.o insert.o lookup.o @@ -15,7 +15,7 @@ CPP=cc -E all: $(LIB) $(TPROG): $(TPROG).o $(LIB) - $(CC) -o $(TPROG) $(TPROG).o $(LIB) ../lib/bfile.a ../lib/util.a + $(CC) $(CFLAGS) -o $(TPROG) $(TPROG).o $(LIB) ../lib/bfile.a ../lib/util.a $(LIB): $(PO) rm -f $(LIB) @@ -26,11 +26,11 @@ $(LIB): $(PO) $(CC) -c $(DEFS) $(CFLAGS) $< clean: - rm -f *.[oa] $(TPROG) core mon.out gmon.out + rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist dep depend: $(CPP) $(INCLUDE) -M *.c >.depend -#ifeq (.depend,$(wildcard .depend)) +ifeq (.depend,$(wildcard .depend)) include .depend -#endif +endif