]> git.mdlowis.com Git - proto/sclpl.git/commitdiff
Added buildfile to use with 'spade'
authorMichael D. Lowis <mike@mdlowis.com>
Mon, 31 Mar 2014 20:31:01 +0000 (16:31 -0400)
committerMichael D. Lowis <mike@mdlowis.com>
Mon, 31 Mar 2014 20:31:01 +0000 (16:31 -0400)
Buildfile [new file with mode: 0644]

diff --git a/Buildfile b/Buildfile
new file mode 100644 (file)
index 0000000..87fa45a
--- /dev/null
+++ b/Buildfile
@@ -0,0 +1,30 @@
+; Build Environment
+;------------------------------------------------------------------------------
+(environment BuildEnv
+  '("CPPPATH" . ("source/libsof/"))
+  '("LIBPATH" . ("build/")))
+
+; Targets and Tasks
+;------------------------------------------------------------------------------
+(with-env BuildEnv
+  (build "StaticLib" "build/sof"
+    (glob "source/libsof/*.c"))
+
+  (build "Program" "build/slvm"
+    (glob "source/slvm/*.c"))
+
+  (build "Program" "build/readsof"
+    (glob "source/readsof/*.c")
+    '("LIBS" . ("sof")))
+  (depends "build/readsof" '("build/sof"))
+
+  (build "Program" "build/slc"
+    (glob "source/slc/*.scm"))
+
+  (build "Program" "build/slpkg"
+    (glob "source/slpkg/*.scm"))
+
+  (build "Program" "build/slas"
+    (glob "source/slas/*.scm"))
+)
+