other ut/test drivers Makefiles

This commit is contained in:
Jean-Francois Dockes
2015-08-05 09:01:11 +02:00
parent 37cad6cb27
commit 1e2fdcd21d
9 changed files with 33 additions and 146 deletions
+5 -9
View File
@@ -1,15 +1,10 @@
depth = ..
include $(depth)/mk/sysconf
# Only test executables get build in here
PROGS = synfamily stoplist
all: librecoll $(PROGS)
all: $(PROGS)
STOPLIST_OBJS= trstoplist.o
stoplist : $(STOPLIST_OBJS)
$(CXX) $(ALL_CXXFLAGS) -o stoplist $(STOPLIST_OBJS) \
$(LIBRECOLL) $(LIBICONV) $(LIBSYS)
$(CXX) $(ALL_CXXFLAGS) -o stoplist $(STOPLIST_OBJS) $(LIBRECOLL)
trstoplist.o : stoplist.cpp
$(CXX) $(ALL_CXXFLAGS) -DTEST_STOPLIST -c -o trstoplist.o \
stoplist.cpp
@@ -17,9 +12,10 @@ trstoplist.o : stoplist.cpp
SYNFAMILY_OBJS= trsynfamily.o
synfamily : $(SYNFAMILY_OBJS)
$(CXX) $(ALL_CXXFLAGS) -o synfamily $(SYNFAMILY_OBJS) \
$(LIBRECOLL) $(LIBICONV) $(LIBXAPIAN) $(LIBSYS)
$(LIBRECOLL) -lxapian
trsynfamily.o : synfamily.cpp
$(CXX) $(ALL_CXXFLAGS) -DTEST_SYNFAMILY -c -o trsynfamily.o \
synfamily.cpp
include $(depth)/mk/commontargets
include ../utils/utmkdefs.mk