summaryrefslogtreecommitdiff
path: root/core/src/luajit/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/luajit/xmake.lua')
-rw-r--r--core/src/luajit/xmake.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/src/luajit/xmake.lua b/core/src/luajit/xmake.lua
new file mode 100644
index 000000000..3a1a0e4fd
--- /dev/null
+++ b/core/src/luajit/xmake.lua
@@ -0,0 +1,18 @@
+-- add target
+target("luajit")
+
+ -- make as a static library
+ set_kind("static")
+
+ -- set warning all and disable error
+ set_warnings("all")
+
+ -- set the object files directory
+ set_objectdir("$(buildir)/.objs")
+
+ -- add include directories
+ add_includedirs("src")
+
+ -- add the common source files
+ add_files("src/**.c")
+