summaryrefslogtreecommitdiffstats
path: root/labb1/sconstruct.py
diff options
context:
space:
mode:
Diffstat (limited to 'labb1/sconstruct.py')
-rw-r--r--labb1/sconstruct.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/labb1/sconstruct.py b/labb1/sconstruct.py
new file mode 100644
index 0000000..aac58d2
--- /dev/null
+++ b/labb1/sconstruct.py
@@ -0,0 +1,4 @@
+env = Environment(CPPPATH=["lib", "lib/StanfordCPPLib"])
+life = env.Program("life", ["src/life.cpp", "lib/lifeutil.cpp"])
+Default(life)
+AlwaysBuild(Alias("run", life, "./life"))