summaryrefslogtreecommitdiff
path: root/csrc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'csrc/Makefile')
-rw-r--r--csrc/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/csrc/Makefile b/csrc/Makefile
new file mode 100644
index 0000000..2c842b7
--- /dev/null
+++ b/csrc/Makefile
@@ -0,0 +1,11 @@
+CFLAGS=-m32 -g
+
+mkf_asm.o: mkf_asm.asm
+ nasm -f elf32 mkf_asm.asm
+
+mkf_asm_data.o: mkf_asm_data.c
+
+mkf.o: mkf.c
+
+libmkf.a: mkf.o mkf_asm.o mkf_asm_data.o
+ ar r libmkf.a mkf.o mkf_asm.o mkf_asm_data.o