Spurious files deleted.
[pazpar2-moved-to-github.git] / Makefile
1 # ParaZ. Copyright (C) 2000-2004, Index Data ApS
2 # All rights reserved.
3 # $Id: Makefile,v 1.1 2006-11-14 20:44:38 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
15
16 all: $(PROG)
17
18 $(PROG): $(PROGO)
19         $(CC) $(CFLAGS) $(YAZCFLAGS) -o $(PROG) $(PROGO) $(YAZLIBS)
20
21 .c.o:
22         $(CC) -c $(CFLAGS) -I. $(YAZCFLAGS) $<
23
24 clean:
25         rm -f *.[oa] test core mon.out gmon.out errlist $(PROG)
26