aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libkogata/Makefile13
-rw-r--r--src/lib/libkogata/bam.lua4
2 files changed, 4 insertions, 13 deletions
diff --git a/src/lib/libkogata/Makefile b/src/lib/libkogata/Makefile
deleted file mode 100644
index 7a1a2ee..0000000
--- a/src/lib/libkogata/Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
-OBJ = start.o malloc.o debug.o syscall.o \
- mainloop.o gip.o draw.o keyboard.o \
- stdio.o unistd.o
-
-LIB = ../../common/libkogata/libkogata.lib ../../common/libalgo/libalgo.lib ../../common/libc/libc.lib
-
-CFLAGS = -I ../include -I ../../common/include
-
-LDFLAGS =
-
-OUT = libkogata.lib
-
-include ../../rules.make
diff --git a/src/lib/libkogata/bam.lua b/src/lib/libkogata/bam.lua
new file mode 100644
index 0000000..1e69e5d
--- /dev/null
+++ b/src/lib/libkogata/bam.lua
@@ -0,0 +1,4 @@
+local source = Collect('src/lib/libkogata/*.c')
+local obj = Compile(user_settings, source)
+
+libkogata = {obj, common_libc, common_libalgo, common_libkogata}