Mod to clean:
[idzebra-moved-to-github.git] / isam / Makefile
index 3be9079..7ee1081 100644 (file)
@@ -3,7 +3,7 @@ INCLUDE=-I../include
 CFLAGS=-g -Wall -pedantic
 DEFS=$(INCLUDE)
 LIB=../lib/isam.a
-PO = isam.o isutil.o rootblk.o memory.o
+PO = isam.o isutil.o rootblk.o memory.o physical.o
 CPP=cc -E
 
 all: $(LIB)
@@ -12,6 +12,10 @@ isam-test: isam-test.c $(LIB)
        $(CC) -g -o isam-test -I../include isam-test.c \
        ../lib/isam.a ../lib/bfile.a ../lib/util.a
 
+issh: issh.c $(LIB)
+       $(CC) -g -o issh -I../include issh.c \
+       ../lib/isam.a ../lib/bfile.a ../lib/util.a
+
 #$(TPROG): $(TPROG).o $(LIB) 
 #      $(CC) -o $(TPROG) $(TPROG).o $(LIB)
 
@@ -24,7 +28,7 @@ $(LIB): $(PO)
        $(CC) -c $(DEFS) $(CFLAGS) $<
 
 clean:
-       rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist isam-test
+       rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist isam-test issh
 
 depend: depend2