projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simple
[yaz-moved-to-github.git]
/
asn
/
Makefile
diff --git
a/asn/Makefile
b/asn/Makefile
index
e50fa31
..
b37dd08
100644
(file)
--- a/
asn/Makefile
+++ b/
asn/Makefile
@@
-1,17
+1,20
@@
# Copyright (C) 1994, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
# 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.6 1995-03-27 08:32:09 quinn Exp $
SHELL=/bin/sh
SHELL=/bin/sh
-INCLUDE=-I../include -I. -I../odr
+INCLUDE=-I../include -I. -I../odr -I../util
+LIBDIR=../../lib
+LIBINCLUDE=-L$(LIBDIR)
#CFLAGS=-g -Wall -pedantic -ansi
DEFS=$(INCLUDE)
#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 oid.o
CPP=cc -E
CPP=cc -E
-all: $(LIB) test
+all: $(LIBDIR) $(LIB)
test: test.o $(LIB) ../odr/odr.a
$(CC) $(CFLAGS) $(INCLUDE) -o test test.o $(LIB) ../odr/odr.a
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)
ar qc $(LIB) $(PO)
ranlib $(LIB)
+$(LIBDIR):
+ mkdir $(LIBDIR)
+
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<