summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c26fd2d..539d8ff 100644
--- a/Makefile
+++ b/Makefile
@@ -8,10 +8,23 @@ luacpath = $(libdir)/lua/5.2
8 8
9LUAC = $(prefix)/bin/luac 9LUAC = $(prefix)/bin/luac
10 10
11# backwards compatibile install paths
12ifneq ($(origin lua52include), undefined)
13luainclude = $(lua52include)
14endif
15
16ifneq ($(origin lua52path), undefined)
17luapath = $(lua52path)
18endif
19
20ifneq ($(origin lua52cpath), undefined)
21luacpath = $(lua52cpath)
22endif
23
24
11VENDOR.OS = $(shell ../mk/vendor.os) 25VENDOR.OS = $(shell ../mk/vendor.os)
12VENDOR.CC = $(shell env CC="${CC}" ../mk/vendor.cc) 26VENDOR.CC = $(shell env CC="${CC}" ../mk/vendor.cc)
13 27
14
15CPPFLAGS = -I$(luainclude) 28CPPFLAGS = -I$(luainclude)
16 29
17ifeq ($(VENDOR.CC), sunpro) 30ifeq ($(VENDOR.CC), sunpro)