# Copyright (C) 1994, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.19 1995-12-06 14:43:01 adam Exp $
+# $Id: Makefile,v 1.22 1996-05-22 08:26:46 adam Exp $
SHELL=/bin/sh
RANLIB=ranlib
-YAZLIB=-lyaz
-YAZINC=
+YAZLIB=../../yaz/lib/libyaz.a
+YAZINC=-I../../yaz/include
INCLUDE=-I../include $(YAZINC)
TPROG1=dicttest
TPROG2=dictext
-#CFLAGS=-g -Wall -pedantic -ansi
DEFS=$(INCLUDE)
LIB=../lib/dict.a
PO = scan.o dopen.o dclose.o drdwr.o open.o close.o insert.o lookup.o \
$(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) \
../lib/bfile.a ../lib/dfa.a ../lib/alexutil.a $(YAZLIB)
-$(TPROG2): $(TPROG2).o $(LIB) ../lib/alexutil.a $(YAZLIB)
+$(TPROG2): $(TPROG2).o $(LIB) ../lib/alexutil.a
$(CC) $(CFLAGS) -o $(TPROG2) $(TPROG2).o ../lib/alexutil.a $(YAZLIB)
$(LIB): $(PO)