aboutsummaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--premake5.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua
index 3818236..34d98dd 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -7,6 +7,20 @@ kind("ConsoleApp")
language("C")
targetdir("bin/%{cfg.buildcfg}/lush")
+local lua_inc_path = "/usr/include"
+local lua_lib_path = "/usr/lib"
+
+if os.findlib("lua5.4") then
+ lua_inc_path = "/usr/include/lua5.4"
+ lua_lib_path = "/usr/lib/5.4"
+ links({ "lua5.4" })
+else
+ links({ "lua" })
+end
+
+includedirs({ lua_inc_path })
+libdirs({ lua_lib_path })
+
files({
"src/**.h",
"src/**.c",
a974065ae5926a072f650bc3223f9be&follow=1'>Added tag 0.1.1 for changeset 3ef997607115Gravatar Enno Boland (tox) 1-0/+1 2009-09-10bugfix releaseGravatar Enno Boland (tox) 1-1/+1 2009-09-10removing unneeded background color.Gravatar Enno Boland (tox) 1-1/+0 2009-09-10rearranging some source.Gravatar Enno Boland (tox) 1-12/+19 2009-09-10adding user stylesheets.Gravatar Enno Boland (tox) 1-10/+21 2009-09-10Added tag 0.1 for changeset 9c8ebcf54061Gravatar Enno Boland (tox) 1-0/+2 2009-09-10dist doesn't work. fixing Makefile.Gravatar Enno Boland (tox) 1-1/+1