Fixed possible buf in proto.c
[yaz-moved-to-github.git] / asn / Makefile
index e50fa31..9fbab3b 100644 (file)
@@ -1,17 +1,20 @@
 # Copyright (C) 1994, Index Data I/S 
 # All rights reserved.
 # Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.2 1995-02-09 16:02:32 quinn Exp $
+# $Id: Makefile,v 1.10 1995-04-11 11:52:01 quinn Exp $
 
 SHELL=/bin/sh
-INCLUDE=-I../include -I. -I../odr
+INCLUDE=-I../include -I.
+LIBDIR=../lib
+LIBINCLUDE=-L$(LIBDIR)
 #CFLAGS=-g -Wall -pedantic -ansi
 DEFS=$(INCLUDE)
-LIB=asn.a
-PO = proto.o
-CPP=cc -E
+LIB=$(LIBDIR)/libasn.a
+LIBS=-lodr -lasn
+PO = proto.o diagbib1.o oid.o
+CPP=$(CC) -E
 
-all: $(LIB) test
+all: $(LIB)
 
 test: test.o $(LIB) ../odr/odr.a
        $(CC) $(CFLAGS) $(INCLUDE) -o test test.o $(LIB) ../odr/odr.a