Smaller fixes.
authorBenjamin P. Jung <bpjung@terreon.de>
Tue, 16 Nov 2004 10:45:57 +0000 (10:45 +0000)
committerBenjamin P. Jung <bpjung@terreon.de>
Tue, 16 Nov 2004 10:45:57 +0000 (10:45 +0000)
SVN-Revision: 2090

SConstruct

index 93a0383..cdbf0ff 100644 (file)
@@ -64,7 +64,7 @@ supertux_src=[
   'src/special.cpp',
   'src/statistics.cpp',
   'src/supertux.cpp',
-  'src/tile.cpp'
+  'src/tile.cpp',
   'src/tile_manager.cpp',
   'src/tilemap.cpp',
   'src/title.cpp',
@@ -77,9 +77,16 @@ SharedLibrary(
   CPPPATH=SDL_INCLUDE_PATH
 )
 
+StaticLibrary(
+  target="lib/supertux",
+  source=libsupertux_src,
+  CPPPATH=SDL_INCLUDE_PATH
+)
+
 Program(
   target="src/supertux",
   source=supertux_src,
-  CPPPATH=[SDL_INCLUDE_PATH, 'lib', '.'],
-  LIBS='lib/libsupertux'
+  CPPPATH=[SDL_INCLUDE_PATH, 'lib', 'intl', '.'],
+  LIBPATH='lib',
+  LIBS='supertux'
 )