1 # $Id: Makefile,v 1.9 1997-09-17 12:10:34 adam Exp $
5 INCLUDE=-I../include -I.
6 DEFS=$(INCLUDE) $(CDEFS)
8 PO = d1_handle.o d1_read.o d1_attset.o d1_tagset.o d1_absyn.o d1_grs.o \
9 d1_sutrs.o d1_varset.o d1_espec.o \
10 d1_doespec.o d1_map.o d1_marc.o d1_write.o d1_expout.o d1_sumout.o \
17 $(CC) -g -o tst $(INCLUDE) tst.c \
18 ../lib/data1.a $(YAZ)/lib/libyaz.a
26 $(CC) -c $(DEFS) $(CFLAGS) $<
29 rm -f *.[oa] $(TPROG) core mon.out gmon.out errlist test isam-test issh
34 mv Makefile Makefile.tmp
35 sed '/^#Depend/q' <Makefile.tmp >Makefile
36 $(CPP) $(DEFS) -M *.c >>Makefile
40 $(CPP) $(DEFS) -M *.c >.depend
42 ifeq (.depend,$(wildcard .depend))
46 #Depend --- DOT NOT DELETE THIS LINE