3 CFLAGS=-g -Wall -pedantic
6 PO = isam.o isutil.o rootblk.o memory.o physical.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
16 $(CC) -g -o issh -I../include issh.c \
17 ../lib/isam.a ../lib/bfile.a ../lib/util.a
19 #$(TPROG): $(TPROG).o $(LIB)
20 # $(CC) -o $(TPROG) $(TPROG).o $(LIB)
28 $(CC) -c $(DEFS) $(CFLAGS) $<
31 rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist isam-test issh
36 mv Makefile Makefile.tmp
37 sed '/^#Depend/q' <Makefile.tmp >Makefile
38 $(CPP) $(INCLUDE) -M *.c >>Makefile
42 $(CPP) $(INCLUDE) -M *.c >.depend
44 ifeq (.depend,$(wildcard .depend))
48 #Depend --- DOT NOT DELETE THIS LINE