summaryrefslogtreecommitdiff
path: root/core/src/xmake/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-08 17:29:38 +0800
committerruki <[email protected]>2022-05-08 17:29:38 +0800
commit4045ac9d0c0e49c04794e2f8a253e81d6d29287c (patch)
tree44c41fbf94263e8faa63c7cb40f7c0002f19bbdc /core/src/xmake/makefile
parent27cc34ff877909993cc5de57b7ac7cff6a13b771 (diff)
add lz4 modules
Diffstat (limited to 'core/src/xmake/makefile')
-rw-r--r--core/src/xmake/makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/src/xmake/makefile b/core/src/xmake/makefile
index d9e8025fb..9de3fe01b 100644
--- a/core/src/xmake/makefile
+++ b/core/src/xmake/makefile
@@ -133,7 +133,11 @@ xmake_C_FILES += \
libc/byteof \
libc/setbyte \
libc/strndup \
- tty/term_mode
+ tty/term_mode \
+ lz4/compress \
+ lz4/decompress \
+ lz4/block_compress \
+ lz4/block_decompress
iswin =
ifeq ($(PLAT),windows)
@@ -168,7 +172,8 @@ xmake_CXFLAGS += $(if $(findstring curses,$(base_LIBNAMES)),-DXM_CONFIG
xmake_INC_DIRS += \
../tbox/tbox/src \
../tbox/inc/$(PLAT) \
- ../sv/sv/include
+ ../sv/sv/include \
+ ../lz4/lz4/lib
ifeq ($(RUNTIME),luajit)
xmake_INC_DIRS += ../luajit/luajit/src
xmake_CXFLAGS += -DUSE_LUAJIT