Mostly about making some ISAM stuff in the config file optional.
[idzebra-moved-to-github.git] / isam / Makefile
index 12d6115..fd565bf 100644 (file)
@@ -1,18 +1,20 @@
 # Copyright (C) 1994, Index Data I/S 
 # All rights reserved.
 # Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.13 1995-09-04 12:33:46 adam Exp $
+# $Id: Makefile,v 1.16 1995-11-20 17:00:18 adam Exp $
 
 SHELL=/bin/sh
 RANLIB=ranlib
-YAZ=../../yaz
-YAZLIB=$(YAZ)/lib/libyaz.a
-INCLUDE=-I../include -I$(YAZ)/include
+
+YAZLIB=-lyaz
+YAZINC=
+
+INCLUDE=-I../include $(YAZINC)
 #CFLAGS=-g -Wall -pedantic -ansi
 DEFS=$(INCLUDE)
 LIB=../lib/isam.a
 PO = isam.o isutil.o rootblk.o memory.o physical.o
-CPP=cc -E
+CPP=$(CC) -E
 
 all: $(LIB)