# ParaZ. Copyright (C) 2000-2004, Index Data ApS
# All rights reserved.
-# $Id: Makefile,v 1.4 2006-12-03 06:43:24 quinn Exp $
+# $Id: Makefile,v 1.6 2006-12-19 04:49:34 quinn Exp $
SHELL=/bin/sh
CC=gcc
-YAZCONF=yaz-2.1.40/yaz-config
+YAZCONF=yaz-config
YAZLIBS=`$(YAZCONF) --libs`
YAZCFLAGS=`$(YAZCONF) --cflags`
clean:
rm -f *.[oa] test core mon.out gmon.out errlist $(PROG)
+
+## Dependencies go below
+
+command.o: command.c command.h util.h eventl.h pazpar2.h termlists.h \
+ relevance.h reclists.h
+eventl.o: eventl.c eventl.h
+http.o: http.c command.h util.h eventl.h pazpar2.h termlists.h \
+ relevance.h reclists.h http.h http_command.h
+http_command.o: http_command.c command.h util.h eventl.h pazpar2.h \
+ termlists.h relevance.h reclists.h http.h http_command.h
+pazpar2.o: pazpar2.c pazpar2.h termlists.h relevance.h reclists.h \
+ eventl.h command.h http.h
+reclists.o: reclists.c pazpar2.h termlists.h relevance.h reclists.h \
+ eventl.h
+relevance.o: relevance.c relevance.h pazpar2.h termlists.h eventl.h \
+ reclists.h
+termlists.o: termlists.c termlists.h
+util.o: util.c