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 selector. If not, see <http://www.gnu.org/licenses/>.
23 LDFLAGS=-lm -ljpeg -lpng
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
42 vision_test: misc.o rgb_image.o jpeg_misc.o fusion_sort.o global.o param_parser.o progress_bar.o \
47 vignette_generator.o \
48 vision_problem_tools.o \
63 classifier.o naive_bayesian_classifier.o \
64 stump.o boosted_classifier.o \
67 $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
69 Makefile.depend: *.h *.cc Makefile
70 $(CC) -M *.cc > Makefile.depend
73 cd .. ; tar zcvf /tmp/svrt.tgz svrt/*.{cc,h,sh} svrt/Makefile svrt/README.txt svrt/gpl-3.0.txt
76 \rm -f vision_test *.o Makefile.depend TAGS
78 -include Makefile.depend