-# mtp is the ``Multi Tracked Path'', an implementation of the
-# k-shortest path algorithm for multi-target tracking.
+# mtp is the ``Multi Tracked Paths'', an implementation of the
+# k-shortest paths algorithm for multi-target tracking.
#
# Copyright (c) 2012 Idiap Research Institute, http://www.idiap.ch/
# Written by Francois Fleuret <francois.fleuret@idiap.ch>
PROFILE_FLAG = -pg
endif
-CXXFLAGS = -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(VERBOSE_FLAG)
+CXXFLAGS = -Wconversion -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(VERBOSE_FLAG)
-all: mtp mtp_example
-
-TAGS: *.cc *.h
- etags --members -l c++ *.cc *.h
-
-random-graph: \
- random-graph.o
- $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+all: mtp mtp_example mtp_stress_test
mtp: \
- path.o mtp_graph.o \
- tracker.o \
+ path.o \
+ mtp_graph.o \
+ mtp_tracker.o \
mtp.o
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
mtp_example: \
- path.o mtp_graph.o \
- tracker.o \
+ path.o \
+ mtp_graph.o \
+ mtp_tracker.o \
mtp_example.o
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+mtp_stress_test: \
+ path.o \
+ mtp_graph.o \
+ mtp_tracker.o \
+ mtp_stress_test.o
+ $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+
Makefile.depend: *.h *.cc Makefile
$(CC) $(CXXFLAGS) -M *.cc > Makefile.depend
clean:
- \rm -f mtp mtp_example *.o Makefile.depend TAGS
+ \rm -f mtp mtp_example mtp_stress_test *.o Makefile.depend
-include Makefile.depend