1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.17 1996-05-22 08:26:40 adam Exp $
10 YAZINC=-I../../yaz/include
12 INCLUDE=-I../include $(YAZINC)
17 PO = bfile.o mfile.o cfile.o commit.o
22 $(TPROG): $(TPROG).o $(LIB) $(YAZLIB)
23 $(CC) -o $(TPROG) $(TPROG).o $(LIB) $(YAZLIB)
31 $(CC) -c $(DEFS) $(CFLAGS) $<
34 rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist
40 sed '/^#Depend/q' <Makefile >Makefile.tmp
41 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
42 mv -f Makefile.tmp Makefile
45 $(CPP) $(DEFS) -M *.c >.depend
47 ifeq (.depend,$(wildcard .depend))
51 #Depend --- DOT NOT DELETE THIS LINE