Parent: [15855b] (diff)

Child: [74434a] (diff)

Download this file

Makefile    30 lines (21 with data), 611 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
include ../mk/FreeBSD
BIGLIB = ../lib/librcl.a
PROGS = idxdriver csguess
all: $(PROGS)
IDXDRIVER_OBJS= idxdriver.o $(BIGLIB)
idxdriver : $(IDXDRIVER_OBJS)
$(CXX) $(CXXFLAGS) -o idxdriver $(IDXDRIVER_OBJS) \
-L/usr/local/lib -lxapian -liconv
CSGUESS_OBJS= trcsguess.o $(BIGLIB)
csguess : $(CSGUESS_OBJS)
$(CXX) $(CXXFLAGS) -o csguess $(CSGUESS_OBJS) \
-L/usr/local/lib -liconv
trcsguess.o : csguess.cpp
$(CXX) $(CXXFLAGS) -DTEST_CSGUESS -c -o trcsguess.o \
csguess.cpp
clean:
rm -f *.o $(PROGS)
alldeps:depend
depend:
$(CXX) $(CXXFLAGS) -M *.cpp > alldeps
include alldeps