3 # A simple SConstruct file.
4 # See http://www.scons.org/ for more information about what SCons is and how it
6 # I've never done anything with SCons before. Quite obviously this script is in
7 # a non-working state!! Maybe someone with more knowledge of the materia who
8 # thinks that SCons might be better suited than make can take over....
9 # - Benjamin P. 'litespeed' Jung -
13 # TODO: such a static entry is obviously not what we want.
14 # Using 'sdl-config --prefix' to obtain parameters would be muuuuuch
16 SDL_INCLUDE_PATH='/usr/include/SDL'
19 'lib/app/globals.cpp',
21 'lib/audio/musicref.cpp',
22 'lib/audio/sound_manager.cpp',
25 'lib/gui/mousecursor.cpp',
26 'lib/math/physic.cpp',
27 'lib/math/vector.cpp',
28 'lib/special/game_object.cpp',
29 'lib/special/moving_object.cpp',
30 'lib/special/sprite.cpp',
31 'lib/special/sprite_manager.cpp',
32 'lib/special/timer.cpp',
33 'lib/special/frame_rate.cpp',
34 'lib/utils/configfile.cpp',
35 'lib/utils/lispreader.cpp',
36 'lib/utils/lispwriter.cpp',
37 'lib/video/drawing_context.cpp',
39 'lib/video/screen.cpp',
40 'lib/video/surface.cpp'
46 'src/badguy_specs.cpp',
53 'src/high_scores.cpp',
54 'src/interactive_object.cpp',
57 'src/level_subset.cpp',
58 'src/leveleditor.cpp',
60 'src/particlesystem.cpp',
65 'src/serializable.cpp',
77 target="lib/supertux",
78 source=libsupertux_src,
79 CPPPATH=SDL_INCLUDE_PATH
83 target="src/supertux",
85 CPPPATH=SDL_INCLUDE_PATH,
86 LIBS='lib/libsupertux'