1 # Copyright (C) 1996, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.2 1996-11-01 08:59:11 adam Exp $
9 YAZLIB=../../yaz/lib/libyaz.a
10 YAZINC=-I../../yaz/include
12 INCLUDE=-I../include $(YAZINC)
23 $(TPROG1): $(TPROG1).o $(LIB) ../lib/bfile.a ../lib/zebrautl.a
24 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) \
25 ../lib/bfile.a ../lib/zebrautl.a $(YAZLIB)
33 $(CC) -c $(DEFS) $(CFLAGS) $<
36 rm -f *.[oa] $(TPROG1) core mon.out gmon.out errlist
41 sed '/^#Depend/q' <Makefile >Makefile.tmp
42 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
43 mv -f Makefile.tmp Makefile
46 $(CPP) $(DEFS) -M *.c >.depend
48 ifeq (.depend,$(wildcard .depend))
52 #Depend --- DOT NOT DELETE THIS LINE