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 can
8 # - Benjamin P. 'litespeed' Jung -
11 # TODO: such static entries are obviously not what we want.
12 # Using e.g. 'sdl-config' to obtain parameters would be muuuuuch
16 DATA_PREFIX = '\\\"/usr/local/share/supertux\\\"'
17 LOCALEDIR = '\\\"/usr/local/share/locale\\\"'
21 '-DDATA_PREFIX=' + DATA_PREFIX,
22 '-DLOCALEDIR=' + LOCALEDIR
25 CPPPATH = ['/usr/include/SDL', '/usr/include/X11', 'src', 'lib', 'intl', '.']
52 'lib/app/globals.cpp',
54 'lib/audio/musicref.cpp',
55 'lib/audio/sound_manager.cpp',
58 'lib/gui/mousecursor.cpp',
59 'lib/math/physic.cpp',
60 'lib/math/vector.cpp',
61 'lib/special/game_object.cpp',
62 'lib/special/moving_object.cpp',
63 'lib/special/sprite.cpp',
64 'lib/special/sprite_manager.cpp',
65 'lib/special/timer.cpp',
66 'lib/special/frame_rate.cpp',
67 'lib/utils/configfile.cpp',
68 'lib/utils/lispreader.cpp',
69 'lib/utils/lispwriter.cpp',
70 'lib/video/drawing_context.cpp',
72 'lib/video/screen.cpp',
73 'lib/video/surface.cpp'
79 'src/badguy_specs.cpp',
86 'src/high_scores.cpp',
87 'src/interactive_object.cpp',
90 'src/level_subset.cpp',
91 'src/leveleditor.cpp',
93 'src/particlesystem.cpp',
102 'src/tile_manager.cpp',
110 target = 'lib/supertux',
111 source = libsupertux_src,
117 target = 'src/supertux',
118 source = supertux_src,