1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.16 1995-11-30 17:00:49 adam Exp $
10 YAZINC=-I../../yaz/include
12 INCLUDE=-I../include $(YAZINC)
13 #CFLAGS=-g -Wall -pedantic -ansi
16 CFLAGS=-g -Wall -pedantic -ansi
19 PO = bfile.o mfile.o cfile.o commit.o
24 $(TPROG): $(TPROG).o $(LIB) $(YAZLIB)
25 $(CC) -o $(TPROG) $(TPROG).o $(LIB) $(YAZLIB)
33 $(CC) -c $(DEFS) $(CFLAGS) $<
36 rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist
42 sed '/^#Depend/q' <Makefile >Makefile.tmp
43 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
44 mv -f Makefile.tmp Makefile
47 $(CPP) $(DEFS) -M *.c >.depend
49 ifeq (.depend,$(wildcard .depend))
53 #Depend --- DOT NOT DELETE THIS LINE