X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=asn%2FMakefile;h=1bc5c9f14e80ac81dc0fb358b46379dda7f23d9e;hb=3050c29a2d88f6af325f1fb9ae6d0927babf9193;hp=c6626647c8dace314836ec7c1c02da85c0099373;hpb=b44b4c3587d6a479d12f91c1ce38eaf533fb4980;p=yaz-moved-to-github.git diff --git a/asn/Makefile b/asn/Makefile index c662664..1bc5c9f 100644 --- a/asn/Makefile +++ b/asn/Makefile @@ -1,20 +1,20 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.4 1995-03-14 10:27:12 quinn Exp $ +# $Id: Makefile,v 1.11 1995-05-22 11:30:15 quinn Exp $ SHELL=/bin/sh -INCLUDE=-I../include -I. -I../odr -LIBDIR=../../lib +INCLUDE=-I../include -I. +LIBDIR=../lib LIBINCLUDE=-L$(LIBDIR) #CFLAGS=-g -Wall -pedantic -ansi DEFS=$(INCLUDE) LIB=$(LIBDIR)/libasn.a LIBS=-lodr -lasn -PO = proto.o -CPP=cc -E +PO = proto.o diagbib1.o oid.o zget.o +CPP=$(CC) -E -all: $(LIBDIR) $(LIB) +all: $(LIB) test: test.o $(LIB) ../odr/odr.a $(CC) $(CFLAGS) $(INCLUDE) -o test test.o $(LIB) ../odr/odr.a @@ -26,9 +26,6 @@ $(LIB): $(PO) ar qc $(LIB) $(PO) ranlib $(LIB) -$(LIBDIR): - mkdir $(LIBDIR) - .c.o: $(CC) -c $(DEFS) $(CFLAGS) $<