1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.17 1995-11-27 10:16:12 quinn Exp $
12 INCLUDE=-I../include $(YAZINC)
13 #CFLAGS=-g -Wall -pedantic -ansi
16 PO = isam.o isutil.o rootblk.o memory.o physical.o
21 alll: $(LIB) # isam-test issh
24 $(CC) -g -o test -I../include test.c \
25 ../lib/isam.a ../lib/bfile.a ../lib/alexutil.a $(YAZLIB)
27 isam-test: isam-test.c $(LIB)
28 $(CC) -g -o isam-test -I../include isam-test.c \
29 ../lib/isam.a ../lib/bfile.a ../lib/alexutil.a $(YAZLIB)
32 $(CC) -g -o issh -I../include issh.c \
33 ../lib/isam.a ../lib/bfile.a ../lib/alexutil.a $(YAZLIB)
35 #$(TPROG): $(TPROG).o $(LIB)
36 # $(CC) -o $(TPROG) $(TPROG).o $(LIB)
44 $(CC) -c $(DEFS) $(CFLAGS) $<
47 rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist test isam-test issh
52 sed '/^#Depend/q' <Makefile >Makefile.tmp
53 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
54 mv -f Makefile.tmp Makefile
57 $(CPP) $(DEFS) -M *.c >.depend
59 ifeq (.depend,$(wildcard .depend))
63 #Depend --- DOT NOT DELETE THIS LINE