From 8e88e765ee17296a85c5ae372471ed248ce321db Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 19 Apr 2017 11:37:40 +0200 Subject: Mini reorganization --- src/bin/bam.lua | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/bin/bam.lua (limited to 'src/bin/bam.lua') diff --git a/src/bin/bam.lua b/src/bin/bam.lua deleted file mode 100644 index d529ece..0000000 --- a/src/bin/bam.lua +++ /dev/null @@ -1,24 +0,0 @@ -return function(s, lib) - local function bin_settings(name) - local s = TableDeepCopy(s.user_settings) - s.link.flags:Add("-T src/lib/linker.ld") - if name == 'lua' or name == 'luac' then - s.cc.includes:Add("src/lib/lua") - end - return s - end - - local function bin_exe(name, deps) - local s = bin_settings(name) - - local src = Collect('src/bin/' .. name .. '/*.c') - local obj = Compile(s, src) - - return Link(s, 'bin/' .. name .. ".bin", {obj, deps}) - end - - return { - bin_exe('lua', {lib.liblua}), - -- bin_exe('luac', {liblua}), - } -end -- cgit v1.2.3