summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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: