1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.21 1995-11-20 11:58:16 adam Exp $
12 INCLUDE=-I../include $(YAZINC)
14 #CFLAGS=-g -Wall -pedantic -ansi
18 PO = res.o alexpath.o common.o
24 res-test: res-test.o $(LIB)
25 $(CC) -o res-test res-test.o $(LIB) $(YAZLIB)
33 $(CC) -c $(DEFS) $(CFLAGS) $<
36 rm -f *.[oa] res-test 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