projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7e15894
)
Modified makefile to use common lib
author
Sebastian Hammer
<quinn@indexdata.com>
Tue, 14 Mar 1995 10:27:12 +0000
(10:27 +0000)
committer
Sebastian Hammer
<quinn@indexdata.com>
Tue, 14 Mar 1995 10:27:12 +0000
(10:27 +0000)
asn/Makefile
patch
|
blob
|
history
diff --git
a/asn/Makefile
b/asn/Makefile
index
3ea01f9
..
c662664
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.3 1995-03-07 16:29:33 quinn Exp $
+# $Id: Makefile,v 1.4 1995-03-14 10:27:12 quinn Exp $
SHELL=/bin/sh
INCLUDE=-I../include -I. -I../odr
SHELL=/bin/sh
INCLUDE=-I../include -I. -I../odr
+LIBDIR=../../lib
+LIBINCLUDE=-L$(LIBDIR)
#CFLAGS=-g -Wall -pedantic -ansi
DEFS=$(INCLUDE)
#CFLAGS=-g -Wall -pedantic -ansi
DEFS=$(INCLUDE)
-LIB=asn.a
+LIB=$(LIBDIR)/libasn.a
+LIBS=-lodr -lasn
PO = proto.o
CPP=cc -E
PO = proto.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
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) $<