From 360da84db0d7165c84d160b518f39cd16006c758 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 13 Jul 2016 22:31:46 +0200 Subject: Migrate to BAM build tool --- src/common/libalgo/Makefile | 11 ----------- src/common/libalgo/bam.lua | 3 +++ src/common/libc/Makefile | 11 ----------- src/common/libc/bam.lua | 3 +++ src/common/libkogata/Makefile | 11 ----------- src/common/libkogata/bam.lua | 3 +++ 6 files changed, 9 insertions(+), 33 deletions(-) delete mode 100644 src/common/libalgo/Makefile create mode 100644 src/common/libalgo/bam.lua delete mode 100644 src/common/libc/Makefile create mode 100644 src/common/libc/bam.lua delete mode 100644 src/common/libkogata/Makefile create mode 100644 src/common/libkogata/bam.lua (limited to 'src/common') diff --git a/src/common/libalgo/Makefile b/src/common/libalgo/Makefile deleted file mode 100644 index fe6dbc6..0000000 --- a/src/common/libalgo/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -OBJ = keyval.o hashtbl.o btree.o - -LIB = - -CFLAGS = -I ../include - -LDFLAGS = - -OUT = libalgo.lib - -include ../../rules.make diff --git a/src/common/libalgo/bam.lua b/src/common/libalgo/bam.lua new file mode 100644 index 0000000..3b164a8 --- /dev/null +++ b/src/common/libalgo/bam.lua @@ -0,0 +1,3 @@ +local source = Collect('src/common/libalgo/*.c') + +common_libalgo = Compile(common_settings, source) 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) diff --git a/src/common/libkogata/Makefile b/src/common/libkogata/Makefile deleted file mode 100644 index 1c1113b..0000000 --- a/src/common/libkogata/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -OBJ = slab_alloc.o region_alloc.o mutex.o - -LIB = - -CFLAGS = -I ../include - -LDFLAGS = - -OUT = libkogata.lib - -include ../../rules.make diff --git a/src/common/libkogata/bam.lua b/src/common/libkogata/bam.lua new file mode 100644 index 0000000..30cf9eb --- /dev/null +++ b/src/common/libkogata/bam.lua @@ -0,0 +1,3 @@ +local source = Collect('src/common/libkogata/*.c') + +common_libkogata = Compile(common_settings, source) -- cgit v1.2.3