Parent: [521013] (diff)

Child: [cc512e] (diff)

Download this file

Makefile    34 lines (24 with data), 706 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
CXXFLAGS = -Wall -g -I. -I../index -I../utils -I../common -I/usr/local/include
BIGLIB=../lib/librcl.a
PROGS = qtry qxtry xadump
all: $(PROGS)
XADUMP_OBJS= xadump.o $(BIGLIB)
xadump : $(XADUMP_OBJS)
$(CXX) $(CXXFLAGS) -o xadump $(XADUMP_OBJS) \
-L/usr/local/lib -lxapian -liconv
QXTRY_OBJS= qxtry.o $(BIGLIB)
qxtry : $(QXTRY_OBJS)
$(CXX) $(CXXFLAGS) -o qxtry $(QXTRY_OBJS) \
-L/usr/local/lib -lxapian -liconv
QTRY_OBJS= qtry.o $(BIGLIB)
qtry : $(QTRY_OBJS)
$(CXX) $(CXXFLAGS) -o qtry $(QTRY_OBJS) \
-L/usr/local/lib -lxapian -liconv
$(BIGLIB):
cd ../lib;make
clean:
rm -f *.o $(PROGS)
alldeps:depend
depend:
$(CXX) $(CXXFLAGS) -M *.cpp > alldeps
include alldeps