1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.17 1995-09-04 12:34:05 adam Exp $
9 YAZLIB=$(YAZ)/lib/libyaz.a
10 INCLUDE=-I../include -I$(YAZ)/include
12 #CFLAGS=-g -Wall -pedantic -ansi
16 PO = xmalloc.o res.o alexpath.o common.o
22 res-test: res-test.o $(LIB) $(YAZLIB)
23 $(CC) -o res-test res-test.o $(LIB) $(YAZLIB)
31 $(CC) -c $(DEFS) $(CFLAGS) $<
34 rm -f *.[oa] res-test core mon.out gmon.out errlist
39 sed '/^#Depend/q' <Makefile >Makefile.tmp
40 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
41 mv -f Makefile.tmp Makefile
44 $(CPP) $(DEFS) -M *.c >.depend
46 ifeq (.depend,$(wildcard .depend))
50 #Depend --- DOT NOT DELETE THIS LINE