# dyncnn is a deep-learning algorithm for the prediction of # interacting object dynamics # # Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/ # Written by Francois Fleuret # # This file is part of dyncnn. # # dyncnn is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License version 3 as # published by the Free Software Foundation. # # dyncnn is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with dyncnn. If not, see . ifeq ($(DEBUG),yes) CXXFLAGS = -fPIC -Wall -g -DDEBUG else CXXFLAGS = -fPIC -Wall -g -O3 endif CXXFLAGS += -I/usr/include/cairo -DCAIRO_SUPPORT LDFLAGS += -lcairo all: flatland_generator.so TAGS TAGS: *.cc *.h etags *.cc *.h flatland_generator.so: sequence_generator.o misc.o \ universe.o \ polygon.o \ canvas.o canvas_cairo.o $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -fPIC -o $@ $^ Makefile.depend: *.h *.cc Makefile $(CC) $(CXXFLAGS) -M *.cc > Makefile.depend clean: \rm -f flatland *.o *.so Makefile.depend -include Makefile.depend