summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-09 10:18:17 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-09 10:18:17 +0200
commit40a0135c66e3271eb3842c1b66edef68d00de370 (patch)
tree0d757e8804e8f87d9ea3138f08de24749e1336e2 /tests
parentf92578d63e8ce19884247343710eafe42edecdf4 (diff)
downloadcrawler-40a0135c66e3271eb3842c1b66edef68d00de370.tar.gz
crawler-40a0135c66e3271eb3842c1b66edef68d00de370.tar.bz2
adaptiosn to use local tolua
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tolua/libtest1/GNUmakefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/tolua/libtest1/GNUmakefile b/tests/tolua/libtest1/GNUmakefile
index a00cbca..2a83f6e 100755
--- a/tests/tolua/libtest1/GNUmakefile
+++ b/tests/tolua/libtest1/GNUmakefile
@@ -8,17 +8,19 @@ INCLUDE_DIRS = \
-I. -I$(TOPDIR)/src -I.. \
-I$(TOPDIR)/include/module \
-I$(TOPDIR)/include/util \
- -I$(TOPDIR)/include/luaglue
+ -I$(TOPDIR)/include/luaglue \
+ $(TOLUA_INCLUDES)
INCLUDE_CXXFLAGS = \
INCLUDE_LDFLAGS = \
- -L$(TOPDIR)/src/libcrawler
+ -L$(TOPDIR)/src/libcrawler \
+ $(TOLUA_LDFLAGS)
INCLUDE_LIBS = \
-lcrawler \
- -ltolua \
- -llua
+ -llua \
+ $(TOLUA_LIBS)
DYNAMIC_MODULE = \
mod_test.so
@@ -33,7 +35,7 @@ CPP_OBJS = \
-include $(TOPDIR)/makefiles/gmake/sub.mk
TestModLua.cpp: TestMod.pkg
- tolua -H TestModLua.hpp -o TestModLua.cpp TestMod.pkg
+ $(TOLUA) -H TestModLua.hpp -o TestModLua.cpp TestMod.pkg
local_all: