Implemented 'block' option to 'show' function to reduce need for
[pazpar2-moved-to-github.git] / Makefile
1 # ParaZ. Copyright (C) 2000-2004, Index Data ApS
2 # All rights reserved.
3 # $Id: Makefile,v 1.5 2006-12-08 22:21:36 quinn Exp $
4
5 SHELL=/bin/sh
6
7 CC=gcc
8
9 YAZCONF=yaz-config
10 YAZLIBS=`$(YAZCONF) --libs`
11 YAZCFLAGS=`$(YAZCONF) --cflags`
12
13 PROG=pazpar2
14 PROGO=pazpar2.o eventl.o util.o command.o http.o http_command.o termlists.o \
15                 reclists.o relevance.o
16
17 all: $(PROG)
18
19 $(PROG): $(PROGO)
20         $(CC) $(CFLAGS) $(YAZCFLAGS) -o $(PROG) $(PROGO) $(YAZLIBS)
21
22 .c.o:
23         $(CC) -c $(CFLAGS) -I. $(YAZCFLAGS) $<
24
25 clean:
26         rm -f *.[oa] test core mon.out gmon.out errlist $(PROG)
27