projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor changes.
[idzebra-moved-to-github.git]
/
rset
/
Makefile
diff --git
a/rset/Makefile
b/rset/Makefile
index
ede37d5
..
570d1ac
100644
(file)
--- a/
rset/Makefile
+++ b/
rset/Makefile
@@
-1,26
+1,25
@@
# 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.1 1994-11-03 14:13:29 quinn Exp $
+# $Id: Makefile,v 1.7 1995-09-08 14:52:41 adam Exp $
SHELL=/bin/sh
SHELL=/bin/sh
-INCLUDE=-I../include
-CFLAGS=-g -Wall -pedantic
+RANLIB=ranlib
+YAZ=../../yaz
+INCLUDE=-I../include -I$(YAZ)/include
+#CFLAGS=-g -Wall -pedantic -ansi
DEFS=$(INCLUDE)
LIB=../lib/rset.a
PROG=
DEFS=$(INCLUDE)
LIB=../lib/rset.a
PROG=
-PO=
+PO=rset.o rstemp.o rsisam.o rsnull.o rsbool.o rsrel.o
CPP=cc -E
CPP=cc -E
-all: $(PROG) $(LIB)
-
-$(PROG): $(PROG).o
- $(CC) -o $(PROG) $(INCLUDE) $(CFLAGS) $(PROG).o $(LIB)
-
+all: $(LIB)
$(LIB): $(PO)
$(LIB): $(PO)
- ar aq $(LIB) $(PO)
- ranlib $(LIB)
+ rm -f $(LIB)
+ ar qc $(LIB) $(PO)
+ $(RANLIB) $(LIB)
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
.c.o:
$(CC) -c $(DEFS) $(CFLAGS) $<
@@
-31,13
+30,12
@@
clean:
depend: depend2
depend1:
depend: depend2
depend1:
- mv Makefile Makefile.tmp
- sed '/^#Depend/q' <Makefile.tmp >Makefile
- $(CPP) $(INCLUDE) -M *.c >>Makefile
- -rm Makefile.tmp
+ sed '/^#Depend/q' <Makefile >Makefile.tmp
+ $(CPP) $(DEFS) -M *.c >>Makefile.tmp
+ mv -f Makefile.tmp Makefile
depend2:
depend2:
- $(CPP) $(INCLUDE) -M *.c >.depend
+ $(CPP) $(DEFS) -M *.c >.depend
ifeq (.depend,$(wildcard .depend))
include .depend
ifeq (.depend,$(wildcard .depend))
include .depend