| 61 |      1 | Import('lib')
 | 
| 60 |      2 | 
 | 
| 61 |      3 | env = Environment(CPPPATH = ['.','#include'], LIBPATH='#build/lib', LIBS='pyrit')
 | 
| 60 |      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")
 | 
| 61 |     12 | sdlenv.Program(['realtime.cc'])
 | 
|  |     13 | sdlenv.Program(['realtime_bunny.cc'])
 | 
|  |     14 | sdlenv.Program(['realtime_dragon.cc'])
 | 
|  |     15 | sdlenv.Program(['spheres_shadow.cc']+image_obj, LIBS="$LIBS:png")
 | 
|  |     16 | sdlenv.Program(['textures.cc']+image_obj, LIBS="$LIBS:png")
 |