small code reorg

This commit is contained in:
Jean-Francois Dockes
2012-08-25 19:08:42 +02:00
parent bd0f002c1a
commit 9327527101
8 changed files with 242 additions and 72 deletions
+9 -1
View File
@@ -3,7 +3,7 @@ depth = ..
include $(depth)/mk/sysconf
# Only test executables get build in here
PROGS = stoplist
PROGS = synfamily stoplist
all: $(BIGLIB) $(PROGS)
@@ -19,6 +19,14 @@ trstoplist.o : stoplist.cpp
$(CXX) $(ALL_CXXFLAGS) -DTEST_STOPLIST -c -o trstoplist.o \
stoplist.cpp
SYNFAMILY_OBJS= trsynfamily.o $(BIGLIB)
synfamily : $(SYNFAMILY_OBJS)
$(CXX) $(ALL_CXXFLAGS) -o synfamily $(SYNFAMILY_OBJS) \
$(BIGLIB) $(LIBICONV) $(LIBXAPIAN) $(LIBSYS)
trsynfamily.o : synfamily.cpp
$(CXX) $(ALL_CXXFLAGS) -DTEST_SYNFAMILY -c -o trsynfamily.o \
synfamily.cpp
clean:
rm -f *.o $(PROGS)