X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=asn%2FMakefile;h=45b8768861e0ac46d929ce963e3cac426b027d78;hb=fd5d2db3eb371d4af60e2d50d1c7e6fb2d4e64c3;hp=a37c56e919803b250088b60876b273f5bd17d373;hpb=17428c7afa7e84d91e4529ba440a953317dc2b82;p=yaz-moved-to-github.git diff --git a/asn/Makefile b/asn/Makefile index a37c56e..45b8768 100644 --- a/asn/Makefile +++ b/asn/Makefile @@ -1,7 +1,7 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.12 1995-05-29 08:10:38 quinn Exp $ +# $Id: Makefile,v 1.14 1995-06-02 09:49:11 quinn Exp $ SHELL=/bin/sh INCLUDE=-I../include -I. @@ -11,7 +11,7 @@ LIBINCLUDE=-L$(LIBDIR) DEFS=$(INCLUDE) LIB=$(LIBDIR)/libasn.a LIBS=-lodr -lasn -PO = proto.o diagbib1.o zget.o +PO = proto.o diagbib1.o zget.o prt-rsc.o prt-acc.o CPP=$(CC) -E all: $(LIB) @@ -35,10 +35,9 @@ clean: depend: depend2 depend1: - mv Makefile Makefile.tmp - sed '/^#Depend/q' Makefile - $(CPP) $(INCLUDE) -M *.c >>Makefile - -rm Makefile.tmp + sed '/^#Depend/q' Makefile.tmp + $(CPP) $(DEFS) -M *.c >>Makefile.tmp + mv -f Makefile.tmp Makefile depend2: $(CPP) $(INCLUDE) -M *.c >.depend