2 # dyncnn is a deep-learning algorithm for the prediction of
3 # interacting object dynamics
5 # Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/
6 # Written by Francois Fleuret <francois.fleuret@idiap.ch>
8 # This file is part of dyncnn.
10 # dyncnn 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 # dyncnn is distributed in the hope that it will be useful, but
15 # WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 # General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with dyncnn. If not, see <http://www.gnu.org/licenses/>.
23 CXXFLAGS = -fPIC -Wall -g -DDEBUG
25 CXXFLAGS = -fPIC -Wall -g -O3
28 CXXFLAGS += -I/usr/include/cairo -DCAIRO_SUPPORT
32 all: flatland_generator.so TAGS
37 flatland_generator.so: sequence_generator.o misc.o \
40 canvas.o canvas_cairo.o
41 $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -fPIC -o $@ $^
43 Makefile.depend: *.h *.cc Makefile
44 $(CC) $(CXXFLAGS) -M *.cc > Makefile.depend
47 \rm -f flatland *.o *.so Makefile.depend
49 -include Makefile.depend