1 # Copyright (C) 1996-1998, Index Data
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile.in,v 1.2 1998-10-28 15:20:49 adam Exp $
14 YAZLIB=../../yaz/lib/libyaz.a
15 YAZINC=-I../../yaz/z39.50 -I../../yaz/include
17 INCLUDE=-I../include $(YAZINC)
19 DEFS=$(CDEFS) $(INCLUDE)
27 $(TPROG1): $(TPROG1).o $(LIB) ../lib/bfile.a ../lib/zebrautl.a
28 $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) \
29 ../lib/bfile.a ../lib/zebrautl.a $(YAZLIB)
37 $(CC) -c $(DEFS) $(CFLAGS) $<
40 rm -f *.[oa] $(TPROG1) core mon.out gmon.out errlist
43 sed '/^#Depend/q' <Makefile >Makefile.tmp
44 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
45 mv -f Makefile.tmp Makefile
47 #Depend --- DOT NOT DELETE THIS LINE