equal
deleted
inserted
replaced
|
1 Import('objs') |
|
2 |
|
3 env = Environment(CPPPATH = ['.','#include']) |
|
4 |
|
5 import os |
|
6 SDL_CCFLAGS = os.popen('sdl-config --cflags').read() |
|
7 SDL_LDFLAGS = os.popen('sdl-config --libs').read() |
|
8 sdlenv = env.Clone() |
|
9 sdlenv.Append(LINKFLAGS=SDL_LDFLAGS, CCFLAGS=SDL_CCFLAGS) |
|
10 |
|
11 image_obj = env.Object('image.c', CC="$CXX") |
|
12 sdlenv.Program(['realtime.cc']+objs) |
|
13 sdlenv.Program(['realtime_bunny.cc']+objs) |
|
14 sdlenv.Program(['realtime_dragon.cc']+objs) |
|
15 sdlenv.Program(['spheres_shadow.cc']+objs+image_obj, LIBS="png") |
|
16 sdlenv.Program(['textures.cc']+objs+image_obj, LIBS="png") |