X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=asn%2FMakefile;h=3b593137ad4378b42fed8699cf1203395f693a07;hb=813f1a77544956dd0e0f8b9cbdf491a6b01927cb;hp=3ea01f9cacc38579bc2a39e2b9b60b9f4998391f;hpb=a783811c74b0c6c8c8b8d5e77144514af80892d0;p=yaz-moved-to-github.git diff --git a/asn/Makefile b/asn/Makefile index 3ea01f9..3b59313 100644 --- a/asn/Makefile +++ b/asn/Makefile @@ -1,17 +1,20 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.3 1995-03-07 16:29:33 quinn Exp $ +# $Id: Makefile,v 1.5 1995-03-15 13:46:09 adam Exp $ SHELL=/bin/sh INCLUDE=-I../include -I. -I../odr +LIBDIR=../../lib +LIBINCLUDE=-L$(LIBDIR) #CFLAGS=-g -Wall -pedantic -ansi DEFS=$(INCLUDE) -LIB=asn.a -PO = proto.o +LIB=$(LIBDIR)/libasn.a +LIBS=-lodr -lasn +PO = proto.o diagbib1.o CPP=cc -E -all: $(LIB) +all: $(LIBDIR) $(LIB) test: test.o $(LIB) ../odr/odr.a $(CC) $(CFLAGS) $(INCLUDE) -o test test.o $(LIB) ../odr/odr.a @@ -23,6 +26,9 @@ $(LIB): $(PO) ar qc $(LIB) $(PO) ranlib $(LIB) +$(LIBDIR): + mkdir $(LIBDIR) + .c.o: $(CC) -c $(DEFS) $(CFLAGS) $<