build script: updated for latest SCons, moved config.h to build/, help and clean targets does not run configure any more, fixed GCC check, added check for zlib
Import('env sdlenv have_sdl lib')
myenv = sdlenv.Clone()
myenv.Append(LIBPATH=['#build/lib'])
myenv.Prepend(LIBS=['pyrit'])
l = []
if have_sdl:
l.append( myenv.Program(['realtime.cc']) )
l.append( myenv.Program(['realtime_bunny.cc']) )
l.append( myenv.Program(['realtime_dragon.cc']) )
l.append( myenv.Program(['spheres_shadow.cc']) )
l.append( myenv.Program(['textures.cc']) )
env.Alias('cc-demos', l)