diff options
Diffstat (limited to 'core/src/demo/makefile')
| -rw-r--r-- | core/src/demo/makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/demo/makefile b/core/src/demo/makefile index 7a9b7754c..b24bf4a95 100644 --- a/core/src/demo/makefile +++ b/core/src/demo/makefile @@ -15,10 +15,15 @@ demo_PKGS-$(TBOX) += tbox demo_PKGS-$(BASE) += base # others -demo_LIBS += xmake$(DTYPE) luajit$(DTYPE) +demo_LIBS += xmake$(DTYPE) luajit$(DTYPE) demo_INC_DIRS += ../ ../luajit/src demo_LIB_DIRS += ../xmake ../luajit demo_CXFLAGS += -D__tb_prefix__=\"xmake\" + +# add readline +ifneq ($(PLAT),windows) +demo_LIBS += readline +endif # suffix include $(PRO_DIR)/suffix.mak |
