improve exception feedback a bit
[supertux.git] / src / Makefile.am
index 7e5fea5..7108c23 100644 (file)
@@ -1,60 +1,22 @@
+localedir = $(datadir)/locale
+
 bin_PROGRAMS = supertux
+supertux_CXXFLAGS = -DLOCALEDIR=\"$(localedir)\"
+#supertux_LDADD = $(top_builddir)/lib/.libs/libsupertux @LIBINTL@
+supertux_LDADD = $(top_builddir)/lib/libsupertux.la @LIBINTL@
+
 
-supertux_SOURCES = \
-  badguy.cpp \
-  badguy.h \
-  bitmask.cpp \
-  bitmask.h \
-  button.cpp \
-  button.h \
-  collision.cpp \
-  collision.h \
-  defines.h \
-  gameloop.cpp \
-  gameloop.h \
-  globals.cpp \
-  globals.h \
-  high_scores.cpp \
-  high_scores.h \
-  intro.cpp \
-  intro.h \
-  level.cpp \
-  level.h \
-  leveleditor.cpp \
-  leveleditor.h \
-  lispreader.cpp \
-  lispreader.h \
-  menu.cpp \
-  menu.h \
-  physic.cpp \
-  physic.h \
-  player.cpp \
-  player.h \
-  scene.cpp \
-  scene.h \
-  screen.cpp \
-  screen.h \
-  setup.cpp \
-  setup.h \
-  sound.cpp \
-  sound.h \
-  special.cpp \
-  special.h \
-  supertux.cpp \
-  supertux.h \
-  text.cpp \
-  text.h \
-  texture.cpp \
-  texture.h \
-  timer.cpp \
-  timer.h \
-  title.cpp \
-  title.h \
-  type.cpp \
-  type.h \
-  world.cpp \
-  world.h \
-  worldmap.cpp \
-  worldmap.h
+supertux_SOURCES = badguy.cpp badguy.h bitmask.cpp bitmask.h camera.cpp \
+                       camera.h collision.cpp collision.h door.cpp door.h intro.cpp intro.h \
+                       gameloop.cpp gameloop.h high_scores.cpp high_scores.h interactive_object.cpp \
+                       interactive_object.h level.cpp level.h level_subset.cpp level_subset.h leveleditor.cpp \
+                       leveleditor.h particlesystem.cpp particlesystem.h player.cpp player.h scene.cpp \
+                       scene.h special.cpp special.h supertux.cpp title.cpp title.h worldmap.cpp \
+                       worldmap.h tile.h tile.cpp tile_manager.h tile_manager.cpp resources.h \
+                       resources.cpp gameobjs.h gameobjs.cpp background.h background.cpp tilemap.h \
+                       tilemap.cpp serializable.h sector.cpp sector.h misc.h misc.cpp defines.h \
+                       statistics.cpp badguy_specs.cpp
 
 # EOF #
+INCLUDES = -I$(top_srcdir)/lib
+noinst_HEADERS = misc.h