Back again...
[idzebra-moved-to-github.git] / isam / Makefile
index 1081028..dd4180b 100644 (file)
@@ -8,6 +8,10 @@ CPP=cc -E
 
 all: $(LIB)
 
+test: test.c $(LIB)
+       $(CC) -g -o test -I../include test.c \
+       ../lib/isam.a ../lib/bfile.a ../lib/util.a
+
 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
@@ -28,7 +32,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