1 # Copyright (C) 1995-1996, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.2 1997-09-04 13:54:39 adam Exp $
9 YAZLIB=../../yaz/lib/libyaz.a
10 YAZINC=-I../../yaz/include
12 INCLUDE=-I../include $(YAZINC)
16 PO=recctrl.o recgrs.o sgmlread.o regxread.o marcread.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