1 # Copyright (C) 1994-1996, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.24 1996-05-31 09:07:17 quinn Exp $
10 YAZINC=-I../../yaz/include
12 INCLUDE=-I../include $(YAZINC)
17 PO = res.o alexpath.o common.o charmap.o
23 res-test: res-test.o $(LIB)
24 $(CC) -o res-test res-test.o $(LIB) $(YAZLIB)
32 $(CC) -c $(DEFS) $(CFLAGS) $<
35 rm -f *.[oa] res-test core mon.out gmon.out errlist
40 sed '/^#Depend/q' <Makefile >Makefile.tmp
41 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
42 mv -f Makefile.tmp Makefile
45 $(CPP) $(DEFS) -M *.c >.depend
47 ifeq (.depend,$(wildcard .depend))
51 #Depend --- DOT NOT DELETE THIS LINE