summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-10-17 12:43:53 +0900
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-10-17 12:43:53 +0900
commitda6230a7fb557b928e538b49ce1b53ecbe5deb84 (patch)
treead01ccd7d6ce0b1f50e0b990c8d37d130e6faeac /Makefile
parent9bf3cd359f67dc3caea0cf6f493fc01672cc42c4 (diff)
downloadsupple-da6230a7fb557b928e538b49ce1b53ecbe5deb84.tar.gz
Move wrapper path from supple.host into supple.capiv1.0.7
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index adaff8f..47530df 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,8 @@ INCS := -I/usr/include/lua$(LUA_VER)
OPT := -O0 -g
WARN := -Wall -Werror
DEFS := -D'LUA_INTERP_NAME="$(LUA_INTERP_NAME)"' \
- -D'LUA_INTERP_PATH="$(LUA_INTERP_PATH)"'
+ -D'LUA_INTERP_PATH="$(LUA_INTERP_PATH)"' \
+ -D'WRAPPER_PATH="$(WRAPPER_PATH)"'
CFLAGS := $(INCS) $(OPT) $(WARN) $(DEFS) $(CFLAGS)
LFLAGS := -O1 -g $(LFLAGS)
@@ -51,7 +52,7 @@ testwrapper: src/wrapper.c
-chown root:root $@ && chmod u+s $@
ls -l $@
-COPY_LMOD := sed -e's!@@WRAPPER_BIN@@!$(WRAPPER_PATH)!g;/START_TEST_SUPPLE/,/END_TEST_SUPPLE/d'
+COPY_LMOD := sed -e'/START_TEST_SUPPLE/,/END_TEST_SUPPLE/d'
install: build
mkdir -p $(LINST_ROOT)/supple