diff -r a23b5089b9c3 -r 7006036eb0db ccdemos/SConscript --- a/ccdemos/SConscript Tue Apr 08 01:05:12 2008 +0200 +++ b/ccdemos/SConscript Wed Apr 09 00:29:11 2008 +0200 @@ -1,6 +1,6 @@ -Import('objs') +Import('lib') -env = Environment(CPPPATH = ['.','#include']) +env = Environment(CPPPATH = ['.','#include'], LIBPATH='#build/lib', LIBS='pyrit') import os SDL_CCFLAGS = os.popen('sdl-config --cflags').read() @@ -9,8 +9,8 @@ sdlenv.Append(LINKFLAGS=SDL_LDFLAGS, CCFLAGS=SDL_CCFLAGS) image_obj = env.Object('image.c', CC="$CXX") -sdlenv.Program(['realtime.cc']+objs) -sdlenv.Program(['realtime_bunny.cc']+objs) -sdlenv.Program(['realtime_dragon.cc']+objs) -sdlenv.Program(['spheres_shadow.cc']+objs+image_obj, LIBS="png") -sdlenv.Program(['textures.cc']+objs+image_obj, LIBS="png") +sdlenv.Program(['realtime.cc']) +sdlenv.Program(['realtime_bunny.cc']) +sdlenv.Program(['realtime_dragon.cc']) +sdlenv.Program(['spheres_shadow.cc']+image_obj, LIBS="$LIBS:png") +sdlenv.Program(['textures.cc']+image_obj, LIBS="$LIBS:png")