1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.10 1994-09-27 16:31:40 adam Exp $
8 CFLAGS=-g -Wall -pedantic
11 PO = isam.o isutil.o rootblk.o memory.o physical.o
17 $(CC) -g -o test -I../include test.c \
18 ../lib/isam.a ../lib/bfile.a ../lib/util.a
20 isam-test: isam-test.c $(LIB)
21 $(CC) -g -o isam-test -I../include isam-test.c \
22 ../lib/isam.a ../lib/bfile.a ../lib/util.a
25 $(CC) -g -o issh -I../include issh.c \
26 ../lib/isam.a ../lib/bfile.a ../lib/util.a
28 #$(TPROG): $(TPROG).o $(LIB)
29 # $(CC) -o $(TPROG) $(TPROG).o $(LIB)
37 $(CC) -c $(DEFS) $(CFLAGS) $<
40 rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist isam-test issh
45 mv Makefile Makefile.tmp
46 sed '/^#Depend/q' <Makefile.tmp >Makefile
47 $(CPP) $(INCLUDE) -M *.c >>Makefile
51 $(CPP) $(INCLUDE) -M *.c >.depend
53 ifeq (.depend,$(wildcard .depend))
57 #Depend --- DOT NOT DELETE THIS LINE