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