Added -ansi to CFLAGS.
[idzebra-moved-to-github.git] / isam / Makefile
index 345135a..51dd3d9 100644 (file)
@@ -1,11 +1,11 @@
 # Copyright (C) 1994, Index Data I/S 
 # All rights reserved.
 # Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.10 1994-09-27 16:31:40 adam Exp $
+# $Id: Makefile,v 1.12 1995-01-24 16:01:34 adam Exp $
 
 SHELL=/bin/sh
 INCLUDE=-I../include
-CFLAGS=-g -Wall -pedantic
+CFLAGS=-g -Wall -pedantic -ansi
 DEFS=$(INCLUDE)
 LIB=../lib/isam.a
 PO = isam.o isutil.o rootblk.o memory.o physical.o
@@ -13,6 +13,8 @@ CPP=cc -E
 
 all: $(LIB)
 
+alll: $(LIB) isam-test issh
+
 test: test.c $(LIB)
        $(CC) -g -o test -I../include test.c \
        ../lib/isam.a ../lib/bfile.a ../lib/util.a
@@ -37,7 +39,7 @@ $(LIB): $(PO)
        $(CC) -c $(DEFS) $(CFLAGS) $<
 
 clean:
-       rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist isam-test issh
+       rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist test isam-test issh
 
 depend: depend2