1 # Copyright (C) 1995-1996, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.1 1996-10-11 10:57:22 adam Exp $
9 YAZLIB=../../yaz/lib/libyaz.a
10 YAZINC=-I../../yaz/include
12 INCLUDE=-I../include $(YAZINC)
16 PO=recctrl.o recgrs.o regxread.o sgmlread.o rectext.o
27 $(CC) -c $(DEFS) $(CFLAGS) $<
30 rm -f *.[oa] core mon.out gmon.out errlist
35 sed '/^#Depend/q' <Makefile >Makefile.tmp
36 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
37 mv -f Makefile.tmp Makefile
40 $(CPP) $(DEFS) -M *.c >.depend
42 ifeq (.depend,$(wildcard .depend))
46 #Depend --- DOT NOT DELETE THIS LINE