X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2FMakefile;h=f30d2b4fd18b33c7041c00584d1b5b74157af59c;hb=edf09fc5529eae3e8214a432058b4c07b2b8d2f9;hp=cd833fabc831a5f0f23f1c4c6f77bb198c818230;hpb=9ee84acdcad18fe55bced224f47e57eb057923f1;p=idzebra-moved-to-github.git diff --git a/util/Makefile b/util/Makefile index cd833fa..f30d2b4 100644 --- a/util/Makefile +++ b/util/Makefile @@ -1,25 +1,26 @@ -# Copyright (C) 1994, Index Data I/S +# Copyright (C) 1994-1996, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.18 1995-10-10 16:28:17 quinn Exp $ +# $Id: Makefile,v 1.25 1996-10-29 13:48:13 adam Exp $ SHELL=/bin/sh RANLIB=ranlib -YAZ=../../yaz -YAZLIB=$(YAZ)/lib/libyaz.a -INCLUDE=-I../include -I$(YAZ)/include + +YAZLIB=-lyaz +YAZINC=-I../../yaz/include + +INCLUDE=-I../include $(YAZINC) TPROG=opt-test -#CFLAGS=-g -Wall -pedantic -ansi DEFS=$(INCLUDE) -CPP=cc -E -LIB=../lib/alexutil.a -PO = xmalloc.o res.o alexpath.o common.o readconf.o +CPP=$(CC) -E +LIB=../lib/zebrautl.a +PO = res.o common.o charmap.o all: $(LIB) alll: res-test all -res-test: res-test.o $(LIB) $(YAZLIB) +res-test: res-test.o $(LIB) $(CC) -o res-test res-test.o $(LIB) $(YAZLIB) $(LIB): $(PO)