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
Working on record packer
[yaz-moved-to-github.git]
/
asn
/
Makefile
diff --git
a/asn/Makefile
b/asn/Makefile
index
3ea01f9
..
3b59313
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.5 1995-03-15 13:46:09 adam 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
-PO = proto.o
+LIB=$(LIBDIR)/libasn.a
+LIBS=-lodr -lasn
+PO = proto.o diagbib1.o
CPP=cc -E
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) $<