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
Added dynamic memory allocation on encoding (whew). Code is now somewhat
[yaz-moved-to-github.git]
/
asn
/
Makefile
diff --git
a/asn/Makefile
b/asn/Makefile
index
c662664
..
9fbab3b
100644
(file)
--- a/
asn/Makefile
+++ b/
asn/Makefile
@@
-1,20
+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.4 1995-03-14 10:27:12 quinn Exp $
+# $Id: Makefile,v 1.10 1995-04-11 11:52:01 quinn Exp $
SHELL=/bin/sh
SHELL=/bin/sh
-INCLUDE=-I../include -I. -I../odr
-LIBDIR=../../lib
+INCLUDE=-I../include -I.
+LIBDIR=../lib
LIBINCLUDE=-L$(LIBDIR)
#CFLAGS=-g -Wall -pedantic -ansi
DEFS=$(INCLUDE)
LIB=$(LIBDIR)/libasn.a
LIBS=-lodr -lasn
LIBINCLUDE=-L$(LIBDIR)
#CFLAGS=-g -Wall -pedantic -ansi
DEFS=$(INCLUDE)
LIB=$(LIBDIR)/libasn.a
LIBS=-lodr -lasn
-PO = proto.o
-CPP=cc -E
+PO = proto.o diagbib1.o oid.o
+CPP=$(CC) -E
-all: $(LIBDIR) $(LIB)
+all: $(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
@@
-26,9
+26,6
@@
$(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) $<