2 # svrt is the ``Synthetic Visual Reasoning Test'', an image generator
3 # for evaluating classification performance of machine learning
4 # systems, humans and primates.
6 # Copyright (c) 2009 Idiap Research Institute, http://www.idiap.ch/
7 # Written by Francois Fleuret <francois.fleuret@idiap.ch>
9 # This file is part of svrt.
11 # svrt is free software: you can redistribute it and/or modify it
12 # under the terms of the GNU General Public License version 3 as
13 # published by the Free Software Foundation.
15 # svrt is distributed in the hope that it will be useful, but WITHOUT
16 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
18 # License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with svrt. If not, see <http://www.gnu.org/licenses/>.
23 LDFLAGS=-lm -ljpeg -lpng12
26 OPTIMIZE_FLAG = -ggdb3 -DDEBUG -fno-omit-frame-pointer
28 OPTIMIZE_FLAG = -ggdb3 -O3
35 CXXFLAGS = -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG) $(CXXGLPK)
40 etags --members -l c++ *.cc *.h
43 global.o param_parser.o progress_bar.o \
44 rgb_image.o jpeg_misc.o \
50 vignette_generator.o \
51 vision_problem_tools.o \
76 classifier.o naive_bayesian_classifier.o \
77 stump.o boosted_classifier.o \
80 $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
82 Makefile.depend: *.h *.cc Makefile
83 $(CC) -M *.cc > Makefile.depend
86 \rm -f vision_test *.o Makefile.depend TAGS
88 -include Makefile.depend