aboutsummaryrefslogtreecommitdiff
path: root/src/lib/bam.lua
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-15 22:39:04 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-15 22:39:04 +0200
commit7a1ea510a9fc43ccbc257601b149a90920332e13 (patch)
tree75ac252bb8ce029c62d6834e4ca927f59eaf5769 /src/lib/bam.lua
parentd415aca695956c79110c88fa58c12bf55c0e2163 (diff)
downloadkogata-7a1ea510a9fc43ccbc257601b149a90920332e13.tar.gz
kogata-7a1ea510a9fc43ccbc257601b149a90920332e13.zip
Add Lua source, not compiled yet as libc/libm functions remain unimplemented
Diffstat (limited to 'src/lib/bam.lua')
-rw-r--r--src/lib/bam.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/bam.lua b/src/lib/bam.lua
new file mode 100644
index 0000000..87d87b1
--- /dev/null
+++ b/src/lib/bam.lua
@@ -0,0 +1,9 @@
+local function lib(name)
+ local source = Collect('src/lib/' .. name .. '/*.c')
+ return Compile(user_settings, source)
+end
+
+libkogata = {lib('libkogata'), common_libc, common_libalgo, common_libkogata}
+
+liblua = lib('lua')
+liblualib = lib('lualib')