--- a/ccdemos/SConscript Sun Apr 27 22:55:17 2008 +0200
+++ b/ccdemos/SConscript Mon Apr 28 11:44:11 2008 +0200
@@ -1,18 +1,16 @@
Import('env lib')
myenv = env.Clone()
myenv.Append(CPPPATH = ['.','#include'], LIBPATH='#build/lib')
-myenv.Prepend(LIBS=['pyrit','png'])
+myenv.Prepend(LIBS=['pyrit'])
sdlenv = myenv.Clone()
sdlenv.ParseConfig('sh sdl-config --cflags --libs')
l = []
-image_obj = myenv.Object('image.c', CC="$CXX")
-l.append( image_obj )
l.append( sdlenv.Program(['realtime.cc']) )
l.append( sdlenv.Program(['realtime_bunny.cc']) )
l.append( sdlenv.Program(['realtime_dragon.cc']) )
-l.append( sdlenv.Program(['spheres_shadow.cc']+image_obj) )
-l.append( sdlenv.Program(['textures.cc']+image_obj) )
+l.append( sdlenv.Program(['spheres_shadow.cc']) )
+l.append( sdlenv.Program(['textures.cc']) )
myenv.Alias('cc-demos', l)