summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2026-01-28 18:43:14 +0800
committerLi Jin <dragon-fly@qq.com>2026-01-28 18:43:14 +0800
commitdd64edd58fe25ec74ae5958128cf3f74b0692f3b (patch)
tree0f2de1df55897e2713977c5a53936757e14b477a /makefile
parent7c2a92b82e9808d3c5ea29b47d1c59d663fe984a (diff)
downloadyuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.tar.gz
yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.tar.bz2
yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.zip
Fixed compiler issues and added 800+ test cases.
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefile b/makefile
index dac835a..3a99b06 100644
--- a/makefile
+++ b/makefile
@@ -11,7 +11,8 @@ SRC_PATH = ./src
11# Space-separated pkg-config libraries used by this project 11# Space-separated pkg-config libraries used by this project
12LIBS = 12LIBS =
13# General compiler flags 13# General compiler flags
14COMPILE_FLAGS = -std=c++17 -Wall -Wextra -DYUE_UTF8_IMPL 14COMPILE_FLAGS = -Wall -Wextra
15CXXFLAGS = -std=c++17 -DYUE_UTF8_IMPL
15# Additional release-specific flags 16# Additional release-specific flags
16RCOMPILE_FLAGS = -DNDEBUG -O3 17RCOMPILE_FLAGS = -DNDEBUG -O3
17# Additional debug-specific flags 18# Additional debug-specific flags
@@ -80,7 +81,7 @@ endif
80ifeq ($(IS_TERMUX),true) 81ifeq ($(IS_TERMUX),true)
81 ifeq ($(NO_WATCHER),) 82 ifeq ($(NO_WATCHER),)
82 NO_WATCHER := true 83 NO_WATCHER := true
83 $(info Detected Android Termux environment, automatically setting NO_WATCHER=true) 84 $(info Detected Android Termux environment, automatically setting NO_WATCHER=true)
84 endif 85 endif
85endif 86endif
86 87