X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2FMakefile;h=3281cf5c15971ed0d55707c8d90110e3d5e4697c;hb=067b55382bc9916b3f7dcd473512c703d4de4a5d;hp=15c7e35cc8ed7d473f85cba695db140866528816;hpb=b879b04a092d5b00cc866cf16f755e55053d2e89;p=idzebra-moved-to-github.git diff --git a/util/Makefile b/util/Makefile index 15c7e35..3281cf5 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.17 1995-09-04 12:34:05 adam Exp $ +# $Id: Makefile,v 1.26 1997-09-17 12:19:23 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 +CPP=$(CC) -E +LIB=../lib/zebrautl.a +PO = res.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)