-bindir=$(prefix)/games
+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.c \
- badguy.h \
- bitmask.c \
- bitmask.h \
- button.c \
- button.h \
- collision.c \
- collision.h \
- defines.h \
- gameloop.c \
- gameloop.h \
- globals.c \
- globals.h \
- high_scores.c \
- high_scores.h \
- intro.c \
- intro.h \
- level.c \
- level.h \
- leveleditor.c \
- leveleditor.h \
- menu.c \
- menu.h \
- physic.c \
- physic.h \
- player.c \
- player.h \
- scene.c \
- scene.h \
- screen.c \
- screen.h \
- setup.c \
- setup.h \
- sound.c \
- sound.h \
- special.c \
- special.h \
- supertux.c \
- supertux.h \
- text.c \
- text.h \
- texture.c \
- texture.h \
- timer.c \
- timer.h \
- title.c \
- title.h \
- type.c \
- type.h \
- world.c \
- world.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
# EOF #
+INCLUDES = -I$(top_srcdir)/lib
+noinst_HEADERS = misc.h