summaryrefslogtreecommitdiff
path: root/makefiles
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 /makefiles
parentf92578d63e8ce19884247343710eafe42edecdf4 (diff)
downloadcrawler-40a0135c66e3271eb3842c1b66edef68d00de370.tar.gz
crawler-40a0135c66e3271eb3842c1b66edef68d00de370.tar.bz2
adaptiosn to use local tolua
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/gmake/platform.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefiles/gmake/platform.mk b/makefiles/gmake/platform.mk
index 8cafc3d..7c53844 100644
--- a/makefiles/gmake/platform.mk
+++ b/makefiles/gmake/platform.mk
@@ -358,3 +358,14 @@ endif
endif
endif
+
+# tolua
+#######
+
+ifeq ($(WITH_LUA),1)
+TOLUA_DIR = $(TOPDIR)/tolua
+TOLUA = $(TOLUA_DIR)/bin/tolua
+TOLUA_INCLUDES = -I$(TOLUA_DIR)/include
+TOLUA_LDFLAGS =
+TOLUA_LIBS = $(TOLUA_DIR)/lib/libtolua.a
+endif