1 # Copyright (C) 1994, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.14 1995-11-20 11:57:54 adam Exp $
12 INCLUDE=-I../include $(YAZINC)
13 #CFLAGS=-g -Wall -pedantic -ansi
16 CFLAGS=-g -Wall -pedantic -ansi
24 $(TPROG): $(TPROG).o $(LIB) $(YAZLIB)
25 $(CC) -o $(TPROG) $(TPROG).o $(LIB) $(YAZLIB)
33 $(CC) -c $(DEFS) $(CFLAGS) $<
36 rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist
42 sed '/^#Depend/q' <Makefile >Makefile.tmp
43 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
44 mv -f Makefile.tmp Makefile
47 $(CPP) $(DEFS) -M *.c >.depend
49 ifeq (.depend,$(wildcard .depend))
53 #Depend --- DOT NOT DELETE THIS LINE