summaryrefslogtreecommitdiff
path: root/csrc/Makefile
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-09-28 21:43:54 +0800
committerIru Cai <mytbk920423@gmail.com>2018-09-28 21:43:54 +0800
commit96c300d7755ce73c34d75d22faefcdd418fd5a46 (patch)
treed9ab187b29ce2a71de0fe8dd8b06f9ab64235f6c /csrc/Makefile
parent7c4575d0b1669e50fa45bd715320b99281ae34d7 (diff)
downloadrich4-96c300d7755ce73c34d75d22faefcdd418fd5a46.tar.xz
add asm version of the mkf function, tested with dump_600.c
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