2 # mtp is the ``Multi Tracked Paths'', an implementation of the
3 # k-shortest paths algorithm for multi-target tracking.
5 # Copyright (c) 2012 Idiap Research Institute, http://www.idiap.ch/
6 # Written by Francois Fleuret <francois.fleuret@idiap.ch>
8 # This file is part of mtp.
10 # mtp is free software: you can redistribute it and/or modify it
11 # under the terms of the GNU General Public License version 3 as
12 # published by the Free Software Foundation.
14 # mtp is distributed in the hope that it will be useful, but WITHOUT
15 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
17 # License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with selector. If not, see <http://www.gnu.org/licenses/>.
29 OPTIMIZE_FLAG = -ggdb3 -DDEBUG -fno-omit-frame-pointer
31 OPTIMIZE_FLAG = -ggdb3 -O3
35 VERBOSE_FLAG = -DVERBOSE
42 CXXFLAGS = -Wconversion -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(VERBOSE_FLAG)
51 $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
58 $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
60 Makefile.depend: *.h *.cc Makefile
61 $(CC) $(CXXFLAGS) -M *.cc > Makefile.depend
64 \rm -f mtp mtp_example *.o Makefile.depend
66 -include Makefile.depend