From 4c2d596a741c4a7be3c82a6a965079041f88e050 Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Tue, 8 Mar 2016 10:39:33 +0100 Subject: 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. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cdf3f67..aaa1f34 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ #this file builds lua-term \o/ -LUA_VER := 5.1 -LUA_DIR := /usr +LUA_VER ?= 5.1 +LUA_DIR ?= /usr LUA_LIBDIR := $(LUA_DIR)/lib/lua/$(LUA_VER)/term LUA_INC := $(LUA_DIR)/include/lua$(LUA_VER) LUA_SHARE := $(LUA_DIR)/share/lua/$(LUA_VER)/term -- cgit v1.2.3-55-g6feb