X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dict%2FMakefile;h=df2c5c78384c9ac6a7b4c46059f31d4b45832c35;hb=81238bdcd599682ea14080db50622889310017ea;hp=a4c366a7fa1ae0609b757231f2f8524b17b0283a;hpb=3c5ad6ec79e41c91b818e9953b08c6217795693d;p=idzebra-moved-to-github.git diff --git a/dict/Makefile b/dict/Makefile index a4c366a..df2c5c7 100644 --- a/dict/Makefile +++ b/dict/Makefile @@ -1,21 +1,21 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.1 1994-08-16 16:26:46 adam Exp $ +# $Id: Makefile,v 1.6 1994-09-12 08:06:41 adam Exp $ SHELL=/bin/sh INCLUDE=-I../include TPROG=dicttest -CFLAGS=-g -Wall +CFLAGS=-O -Wall -g -pedantic DEFS=$(INCLUDE) LIB=../lib/dict.a -PO = open.o close.o insert.o lookup.o +PO = dopen.o dclose.o drdwr.o open.o close.o insert.o lookup.o 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