X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=dict%2FMakefile;fp=dict%2FMakefile;h=d94ad4b3c5bf1cff001645543cc70b60357deaae;hb=02ac0a77d27046442a63371dbf37ee5c0c452dee;hp=f75d118fa958b1ce331cf4651841b8f56dd24a8a;hpb=ef495f3c3ac61351628014c7f186adb843d5286b;p=idzebra-moved-to-github.git diff --git a/dict/Makefile b/dict/Makefile index f75d118..d94ad4b 100644 --- a/dict/Makefile +++ b/dict/Makefile @@ -1,16 +1,16 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.9 1994-09-20 09:02:56 adam Exp $ +# $Id: Makefile,v 1.10 1994-09-22 10:43:43 adam Exp $ SHELL=/bin/sh INCLUDE=-I../include TPROG1=dicttest TPROG2=dictext -CFLAGS=-O -Wall -g -pedantic +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 +PO = dopen.o dclose.o drdwr.o open.o close.o insert.o lookup.o lookupec.o CPP=cc -E all: $(LIB) @@ -33,9 +33,19 @@ $(LIB): $(PO) clean: rm -f *.[oa] $(TPROG1) $(TPROG2) core mon.out gmon.out errlist -dep depend: +depend: depend2 + +depend1: mv Makefile Makefile.tmp sed '/^#Depend/q' Makefile $(CPP) $(INCLUDE) -M *.c >>Makefile + -rm Makefile.tmp + +depend2: + $(CPP) $(INCLUDE) -M *.c >.depend + +ifeq (.depend,$(wildcard .depend)) +include .depend +endif #Depend --- DOT NOT DELETE THIS LINE