3 # data-tool is a command line tool to do simple statistical
4 # processing on numerical data.
6 # Copyright (c) 2009 Francois Fleuret
7 # Written by Francois Fleuret <francois.fleuret@idiap.ch>
9 # This file is part of data-tool.
11 # data-tool is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License version 3 as
13 # published by the Free Software Foundation.
15 # data-tool is distributed in the hope that it will be useful, but
16 # WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 # General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with data-tool. If not, see <http://www.gnu.org/licenses/>.
25 OPTIMIZE_FLAG = -ggdb3 -DDEBUG
27 OPTIMIZE_FLAG = -ggdb3 -O3
34 CXXFLAGS = -Wall $(OPTIMIZE_FLAG) $(PROFILE_FLAG)
39 etags --members -l c++ *.cc *.h
41 data-tool: data-tool.o
42 $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
44 Makefile.depend: *.h *.cc Makefile
45 $(CC) -M *.cc > Makefile.depend
48 \rm -f data-tool *.o Makefile.depend TAGS
50 -include Makefile.depend