summaryrefslogtreecommitdiff
path: root/core/src/demo/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2017-03-30 11:58:21 +0800
committerruki <[email protected]>2017-03-30 11:58:21 +0800
commita2a07d5d56016d98b1aa368886481268f29a2530 (patch)
treec92c166b07aea4f63ddf269b24b39a59146a50f5 /core/src/demo/makefile
parent5d79b9e7497b1783b1e0ecf90cd2cd0e13af878c (diff)
add luajit makefile
Diffstat (limited to 'core/src/demo/makefile')
-rw-r--r--core/src/demo/makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/core/src/demo/makefile b/core/src/demo/makefile
index 8426ce7de..7a9b7754c 100644
--- a/core/src/demo/makefile
+++ b/core/src/demo/makefile
@@ -12,15 +12,14 @@ demo_C_FILES += xmake
# packages
demo_PKGS-$(TBOX) += tbox
-demo_PKGS-$(LUAJIT) += luajit
demo_PKGS-$(BASE) += base
# others
-demo_LIBS += xmake$(DTYPE)
-demo_INC_DIRS += ../
-demo_LIB_DIRS += ../xmake
+demo_LIBS += xmake$(DTYPE) luajit$(DTYPE)
+demo_INC_DIRS += ../ ../luajit/src
+demo_LIB_DIRS += ../xmake ../luajit
demo_CXFLAGS += -D__tb_prefix__=\"xmake\"
-
+
# suffix
include $(PRO_DIR)/suffix.mak