1 # ParaZ. Copyright (C) 2000-2004, Index Data ApS
3 # $Id: Makefile,v 1.1 2006-12-20 20:47:16 quinn Exp $
10 YAZLIBS=`$(YAZCONF) --libs`
11 YAZCFLAGS=`$(YAZCONF) --cflags`
14 PROGO=pazpar2.o eventl.o util.o command.o http.o http_command.o termlists.o \
15 reclists.o relevance.o
20 $(CC) $(CFLAGS) $(YAZCFLAGS) -o $(PROG) $(PROGO) $(YAZLIBS)
23 $(CC) -c $(CFLAGS) -I. $(YAZCFLAGS) $<
26 rm -f *.[oa] test core mon.out gmon.out errlist $(PROG)
29 ## Dependencies go below
31 command.o: command.c command.h util.h eventl.h pazpar2.h termlists.h \
32 relevance.h reclists.h
33 eventl.o: eventl.c eventl.h
34 http.o: http.c command.h util.h eventl.h pazpar2.h termlists.h \
35 relevance.h reclists.h http.h http_command.h
36 http_command.o: http_command.c command.h util.h eventl.h pazpar2.h \
37 termlists.h relevance.h reclists.h http.h http_command.h
38 pazpar2.o: pazpar2.c pazpar2.h termlists.h relevance.h reclists.h \
39 eventl.h command.h http.h
40 reclists.o: reclists.c pazpar2.h termlists.h relevance.h reclists.h \
42 relevance.o: relevance.c relevance.h pazpar2.h termlists.h eventl.h \
44 termlists.o: termlists.c termlists.h