You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
629 B
23 lines
629 B
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -3,15 +3,15 @@
|
|
INSTALL ?= install
|
|
INSTALL_PROGRAM ?= $(INSTALL)
|
|
INSTALL_DATA ?= $(INSTALL) -m 644
|
|
-LUA_V ?= 5.1
|
|
-LUA_LDIR ?= /usr/share/lua/$(LUA_V)
|
|
-LUA_CDIR ?= /usr/lib/lua/$(LUA_V)
|
|
+LUA_V ?= 5.2
|
|
+LUA_LDIR ?= $(PREFIX)/share/lua/$(LUA_V)
|
|
+LUA_CDIR ?= $(PREFIX)/lib/lua/$(LUA_V)
|
|
T = lxp
|
|
LIBNAME = $(T).so
|
|
|
|
COMMON_CFLAGS = -g -pedantic -Wall -O2 -fPIC -DPIC -ansi
|
|
-LUA_INC ?= -I/usr/include/lua$(LUA_V)
|
|
-EXPAT_INC ?= -I/usr/include
|
|
+LUA_INC ?= -I$(PREFIX)/include
|
|
+EXPAT_INC ?= -I$(PREFIX)/include
|
|
CF = $(LUA_INC) $(EXPAT_INC) $(COMMON_CFLAGS) $(CFLAGS)
|
|
|
|
EXPAT_LIB = -lexpat
|
|
|