1 # Copyright (C) 1995-1998, Index Data I/S
3 # Sebastian Hammer, Adam Dickmeiss
4 # $Id: Makefile,v 1.27 1998-02-10 15:31:46 adam Exp $
7 INCLUDE=-I../include -I.
10 DEFS=$(INCLUDE) $(CDEFS)
11 LIB=$(LIBDIR)/libasn.a
12 PO = proto.o diagbib1.o zget.o prt-rsc.o prt-acc.o prt-exp.o prt-ext.o \
13 prt-grs.o prt-exd.o prt-dia.o prt-esp.o prt-arc.o prt-add.o prt-dat.o
19 test: test.o $(LIB) ../odr/odr.a
20 $(CC) $(CFLAGS) $(INCLUDE) -o test test.o $(LIB) ../odr/odr.a
30 $(CC) -c $(DEFS) $(CFLAGS) $<
33 rm -f *.[oa] test core mon.out gmon.out errlist
38 sed '/^#Depend/q' <Makefile >Makefile.tmp
39 $(CPP) $(DEFS) -M *.c >>Makefile.tmp
40 mv -f Makefile.tmp Makefile
43 $(CPP) $(DEFS) -M *.c >.depend
45 ifeq (.depend,$(wildcard .depend))
49 #Depend --- DOT NOT DELETE THIS LINE