3 CFLAGS=-g -Wall -pedantic
6 PO = isam.o isutil.o rootblk.o memory.o
11 isam-test: isam-test.c $(LIB)
12 $(CC) -g -o isam-test -I../include isam-test.c \
13 ../lib/isam.a ../lib/bfile.a ../lib/util.a
15 #$(TPROG): $(TPROG).o $(LIB)
16 # $(CC) -o $(TPROG) $(TPROG).o $(LIB)
24 $(CC) -c $(DEFS) $(CFLAGS) $<
27 rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist isam-test
32 mv Makefile Makefile.tmp
33 sed '/^#Depend/q' <Makefile.tmp >Makefile
34 $(CPP) $(INCLUDE) -M *.c >>Makefile
38 $(CPP) $(INCLUDE) -M *.c >.depend
40 ifeq (.depend,$(wildcard .depend))
44 #Depend --- DOT NOT DELETE THIS LINE