2 # A simple SConstruct file.
3 # See http://www.scons.org/ for more information about what SCons is and how it
5 # I've never done anything with SCons before. Quite obviously this script is in
6 # a non-working state!! Maybe someone with more knowledge of the materia who
7 # thinks that SCons might be better suited than make can take over....
8 # - Benjamin P. 'litespeed' Jung -
12 # TODO: such a static entry is obviously not what we want.
13 # Using 'sdl-config --prefix' to obtain parameters would be muuuuuch
15 SDL_INCLUDE_PATH='/usr/include/SDL'
18 'lib/app/globals.cpp',
20 'lib/audio/musicref.cpp',
21 'lib/audio/sound_manager.cpp',
24 'lib/gui/mousecursor.cpp',
25 'lib/math/physic.cpp',
26 'lib/math/vector.cpp',
27 'lib/special/game_object.cpp',
28 'lib/special/moving_object.cpp',
29 'lib/special/sprite.cpp',
30 'lib/special/sprite_manager.cpp',
31 'lib/special/timer.cpp',
32 'lib/special/frame_rate.cpp',
33 'lib/utils/configfile.cpp',
34 'lib/utils/lispreader.cpp',
35 'lib/utils/lispwriter.cpp',
36 'lib/video/drawing_context.cpp',
38 'lib/video/screen.cpp',
39 'lib/video/surface.cpp'
45 'src/badguy_specs.cpp',
52 'src/high_scores.cpp',
53 'src/interactive_object.cpp',
56 'src/level_subset.cpp',
57 'src/leveleditor.cpp',
59 'src/particlesystem.cpp',
68 'src/tile_manager.cpp',
75 target="lib/supertux",
76 source=libsupertux_src,
77 CPPPATH=SDL_INCLUDE_PATH
81 target="src/supertux",
83 CPPPATH=[SDL_INCLUDE_PATH, 'lib', '.'],
84 LIBS='lib/libsupertux'