X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;ds=sidebyside;f=isam%2FMakefile;h=3be907958a2eba5b90d10d645d2d10c3cc8c1c03;hb=ddfc9499c27bb4b90797bab12868f629afee34e3;hp=e63f4c17a59eea87d5cc18245cc17882da0275b7;hpb=f8a58c40f789bc7f0694ad085b6af815a5ee1fc3;p=idzebra-moved-to-github.git diff --git a/isam/Makefile b/isam/Makefile index e63f4c1..3be9079 100644 --- a/isam/Makefile +++ b/isam/Makefile @@ -3,7 +3,7 @@ INCLUDE=-I../include CFLAGS=-g -Wall -pedantic DEFS=$(INCLUDE) LIB=../lib/isam.a -PO = isutil.o isam.o +PO = isam.o isutil.o rootblk.o memory.o CPP=cc -E all: $(LIB) @@ -26,9 +26,19 @@ $(LIB): $(PO) clean: rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist isam-test -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