diff options
| author | ruki <[email protected]> | 2017-05-03 21:21:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-03 21:21:09 +0800 |
| commit | 021a778bc410cbe330ade85142bf29aed2485c39 (patch) | |
| tree | f41b7eebe3a65c6a98d4a78b3a4ba19c74be71ee /core/src/demo/makefile | |
| parent | d05c6f778f125e94488fb785a2176e2854d98442 (diff) | |
add readline for linux and macosx
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 |
