diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-21 19:24:51 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-21 19:24:51 +0200 |
commit | 267bebfc227c94f543a39e2aa75fb101bc06932e (patch) | |
tree | 40ad8057634ba80aa19c61f57884982fd59f6b56 /SConstruct | |
parent | 88b1e9e505dad78fd2c3ff927495d322b11491ca (diff) |
Moved engine-sources to seperate subdirectory.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ env = Environment( ENV = os.environ, ) -common_sources = [] +engine = Glob('engine/*.cpp') AddOption('--release', action = 'store_true') @@ -15,7 +15,7 @@ if env['PLATFORM'] == 'darwin': env.Append(LIBS = ['ftgl']) env.Append(LIBPATH = ['/opt/local/lib']) env.Append(FRAMEWORKS = ['SDL', 'SDL_image', 'Cocoa', 'OpenGL', 'AppKit']) - common_sources.append('SDLMain.m') + engine.append('engine/SDLMain.m') else: env.Append(LIBS = ['GL', 'GLU', 'SDL', 'SDL_image']) env.ParseConfig('sdl-config --cflags --libs') @@ -24,6 +24,6 @@ else: if not GetOption('release'): env.Append(CPPFLAGS = ['-Wall', '-g']) -env.Program('foo', common_sources + Glob('*.cpp')) +env.Program('foo', ['main.cpp'] + engine) # vim: syn=python |