summaryrefslogtreecommitdiff
path: root/makefiles/gmake/platform.mk
diff options
context:
space:
mode:
Diffstat (limited to 'makefiles/gmake/platform.mk')
-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