equal
deleted
inserted
replaced
1 Import('env sdlenv lib') |
1 Import('env sdlenv have_sdl lib') |
2 myenv = sdlenv.Clone() |
2 myenv = sdlenv.Clone() |
3 myenv.Append(LIBPATH=['#build/lib']) |
3 myenv.Append(LIBPATH=['#build/lib']) |
4 myenv.Prepend(LIBS=['pyrit']) |
4 myenv.Prepend(LIBS=['pyrit']) |
5 |
5 |
6 l = [] |
6 l = [] |
7 l.append( myenv.Program(['realtime.cc']) ) |
7 if have_sdl: |
8 l.append( myenv.Program(['realtime_bunny.cc']) ) |
8 l.append( myenv.Program(['realtime.cc']) ) |
9 l.append( myenv.Program(['realtime_dragon.cc']) ) |
9 l.append( myenv.Program(['realtime_bunny.cc']) ) |
10 l.append( myenv.Program(['spheres_shadow.cc']) ) |
10 l.append( myenv.Program(['realtime_dragon.cc']) ) |
11 l.append( myenv.Program(['textures.cc']) ) |
11 l.append( myenv.Program(['spheres_shadow.cc']) ) |
|
12 l.append( myenv.Program(['textures.cc']) ) |
12 |
13 |
13 env.Alias('cc-demos', l) |
14 env.Alias('cc-demos', l) |