summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-05-07 16:06:08 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-05-07 16:06:08 +0200
commitf0eb6a7b101afba52f33c5286e15a862ee68c64e (patch)
tree7de0b92e167b25d5ffe0e4843f213e5ad108df4a /SConstruct
parent6d5df2a42e09f4561f976c6f994471c1d5dba7ce (diff)
Replace static heightmap with perlin noise using libnoise and noiseutils.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index c046bb5..0c5f2b6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -8,7 +8,7 @@ AddOption('--release', action = 'store_true')
AddOption('--profiling', action = 'store_true')
env.Append(CPPPATH = ['.'])
-env.Append(LIBS = ['GL', 'GLU'])
+env.Append(LIBS = ['GL', 'GLU', 'noise'])
env.ParseConfig('sdl-config --cflags --libs')
env.ParseConfig('pkg-config --cflags --libs SDL_image')
env.ParseConfig('pkg-config --cflags --libs ftgl')
@@ -24,6 +24,6 @@ if GetOption('profiling'):
Export('env')
-env.Program('foo', Glob('*.cpp'))
+env.Program('foo', Glob('*.cpp') + ['noiseutils/noiseutils.cpp'])
# vim: syn=python