aboutsummaryrefslogtreecommitdiff
path: root/src/common/libc
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-13 22:31:46 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-13 22:31:46 +0200
commit360da84db0d7165c84d160b518f39cd16006c758 (patch)
treea6fea5da753ec4ac5a37237cefda52801f9647ac /src/common/libc
parent27a6934ea3073c3eaf782cc7615ce4ed0dbf4a18 (diff)
downloadkogata-360da84db0d7165c84d160b518f39cd16006c758.tar.gz
kogata-360da84db0d7165c84d160b518f39cd16006c758.zip
Migrate to BAM build tool
Diffstat (limited to 'src/common/libc')
-rw-r--r--src/common/libc/Makefile11
-rw-r--r--src/common/libc/bam.lua3
2 files changed, 3 insertions, 11 deletions
diff --git a/src/common/libc/Makefile b/src/common/libc/Makefile
deleted file mode 100644
index 54fa9f1..0000000
--- a/src/common/libc/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-OBJ = string.o printf.o
-
-LIB =
-
-CFLAGS = -I ../include
-
-LDFLAGS =
-
-OUT = libc.lib
-
-include ../../rules.make
diff --git a/src/common/libc/bam.lua b/src/common/libc/bam.lua
new file mode 100644
index 0000000..cee2ec4
--- /dev/null
+++ b/src/common/libc/bam.lua
@@ -0,0 +1,3 @@
+local source = Collect('src/common/libc/*.c')
+
+common_libc = Compile(common_settings, source)