aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Stinglmayr <florian@n0la.org>2016-03-08 10:39:33 +0100
committerFlorian Stinglmayr <florian@n0la.org>2016-03-08 10:39:33 +0100
commit4c2d596a741c4a7be3c82a6a965079041f88e050 (patch)
treeb0e2f7fcab98c65f2ec92929f480cc9e3f0dbddc /Makefile
parent6f70dd89924672cea442c2477fd60827d9ae2edb (diff)
downloadlua-term-4c2d596a741c4a7be3c82a6a965079041f88e050.tar.gz
lua-term-4c2d596a741c4a7be3c82a6a965079041f88e050.tar.bz2
lua-term-4c2d596a741c4a7be3c82a6a965079041f88e050.zip
Allow user to override LUA_VER and LUA_DIR.
This way you can specifiy an alternate Lua version through the environment when calling make. This allows for full support of all OpenBSD Lua flavours by just overriding LUA_VER and LUA_DIR.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cdf3f67..aaa1f34 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
1#this file builds lua-term \o/ 1#this file builds lua-term \o/
2 2
3LUA_VER := 5.1 3LUA_VER ?= 5.1
4LUA_DIR := /usr 4LUA_DIR ?= /usr
5LUA_LIBDIR := $(LUA_DIR)/lib/lua/$(LUA_VER)/term 5LUA_LIBDIR := $(LUA_DIR)/lib/lua/$(LUA_VER)/term
6LUA_INC := $(LUA_DIR)/include/lua$(LUA_VER) 6LUA_INC := $(LUA_DIR)/include/lua$(LUA_VER)
7LUA_SHARE := $(LUA_DIR)/share/lua/$(LUA_VER)/term 7LUA_SHARE := $(LUA_DIR)/share/lua/$(LUA_VER)/term