summaryrefslogtreecommitdiff
path: root/plugins/MirLua/Modules/ffi/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/Modules/ffi/src/Makefile')
-rw-r--r--plugins/MirLua/Modules/ffi/src/Makefile32
1 files changed, 0 insertions, 32 deletions
diff --git a/plugins/MirLua/Modules/ffi/src/Makefile b/plugins/MirLua/Modules/ffi/src/Makefile
deleted file mode 100644
index 0c62c282f3..0000000000
--- a/plugins/MirLua/Modules/ffi/src/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# Use luarocks to install LuaFFI:
-# > git clone https://github.com/facebook/luaffifb
-# > cd luaffifb && luarocks make
-#
-# To rebuild the call_* headers:
-# > rm call_*.h && make headers
-#
-
-.PHONY: build clean headers
-LUA=lua
-
-build:
- luarocks make
-
-clean:
- rm -f *.o *.so *.dylib
-
-headers:
- $(MAKE) call_x86.h call_x64.h call_x64win.h call_arm.h
-
-call_x86.h: call_x86.dasc dynasm/*.lua
- $(LUA) dynasm/dynasm.lua -LN -o $@ $<
-
-call_x64.h: call_x86.dasc dynasm/*.lua
- $(LUA) dynasm/dynasm.lua -D X64 -LN -o $@ $<
-
-call_x64win.h: call_x86.dasc dynasm/*.lua
- $(LUA) dynasm/dynasm.lua -D X64 -D X64WIN -LN -o $@ $<
-
-call_arm.h: call_arm.dasc dynasm/*.lua
- $(LUA) dynasm/dynasm.lua -LNE -o $@ $<