1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.11 1994-09-27 20:03:50 quinn Exp $
8 CFLAGS=-g -Wall -pedantic
11 PO = isam.o isutil.o rootblk.o memory.o physical.o
16 alll: $(LIB) isam-test issh
19 $(CC) -g -o test -I../include test.c \
20 ../lib/isam.a ../lib/bfile.a ../lib/util.a
22 isam-test: isam-test.c $(LIB)
23 $(CC) -g -o isam-test -I../include isam-test.c \
24 ../lib/isam.a ../lib/bfile.a ../lib/util.a
27 $(CC) -g -o issh -I../include issh.c \
28 ../lib/isam.a ../lib/bfile.a ../lib/util.a
30 #$(TPROG): $(TPROG).o $(LIB)
31 # $(CC) -o $(TPROG) $(TPROG).o $(LIB)
39 $(CC) -c $(DEFS) $(CFLAGS) $<
42 rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist test isam-test issh
47 mv Makefile Makefile.tmp
48 sed '/^#Depend/q' <Makefile.tmp >Makefile
49 $(CPP) $(INCLUDE) -M *.c >>Makefile
53 $(CPP) $(INCLUDE) -M *.c >.depend
55 ifeq (.depend,$(wildcard .depend))
59 #Depend --- DOT NOT DELETE THIS LINE