Added headers.
[flatland.git] / Makefile
index e800949..1bdce0a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,24 @@
 
-# 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 <francois.fleuret@idiap.ch>
+#  flatland is a simple 2d physical simulator
 #
-# This file is part of dyncnn.
+#  Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/
+#  Written by Francois Fleuret <francois.fleuret@idiap.ch>
 #
-# 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.
+#  This file is part of flatland
 #
-# 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.
+#  flatland 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.
+#
+#  flatland 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 flatland.  If not, see <http://www.gnu.org/licenses/>.
 #
-# You should have received a copy of the GNU General Public License
-# along with dyncnn.  If not, see <http://www.gnu.org/licenses/>.
 
 ifeq ($(DEBUG),yes)
  CXXFLAGS = -fPIC -Wall -g -DDEBUG
@@ -29,20 +30,17 @@ CXXFLAGS += -I/usr/include/cairo -DCAIRO_SUPPORT
 
 LDFLAGS += -lcairo
 
-all: flatland.so TAGS
+all: flatland_generator.so TAGS
 
 TAGS: *.cc *.h
        etags *.cc *.h
 
-flatland.so: flatland.o misc.o \
-       universe.o \
-       polygon.o \
+flatland_generator.so: \
+       sequence_generator.o misc.o \
+       polygon.o universe.o \
        canvas.o canvas_cairo.o
        $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -fPIC -o $@ $^
 
-test: test.c flatland.so
-       $(CC) flatland.so -o test test.c
-
 Makefile.depend: *.h *.cc Makefile
        $(CC) $(CXXFLAGS) -M *.cc > Makefile.depend