File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 88# | sanchuanhehe <[email protected] >99# |
1010# Created On : <2023-08-28>
11- # Last Modified : <2025-07-13 >
11+ # Last Modified : <2025-07-14 >
1212#
1313# 请阅读 ./doc/01-Develop.md 来使用
1414# --------------------------------------------------------------
@@ -164,10 +164,13 @@ test-make-env:
164164 echo "HOME: $(HOME)"; \
165165 fi
166166
167+ # 这两个测试文件都用 DEBUG mode
168+ test-xy : CFLAGS += $(CFLAGS_debug )
167169test-xy :
168170 @$(CC ) test/xy.c $(CFLAGS ) -o xy
169171 @./xy
170172
173+ test-fw : CFLAGS += $(CFLAGS_debug )
171174test-fw :
172175 @$(CC ) test/fw.c $(CFLAGS ) -o fw
173176 @./fw
Original file line number Diff line number Diff line change 77# Contributors : Nul None <[email protected] > 88# |
99# Created On : <2025-06-18>
10- # Last Modified : <2025-07-13 >
10+ # Last Modified : <2025-07-14 >
1111#
1212# 该文件主要用于在原生Windows上执行项目的基本任务,而不借助于
1313# GNU make 以及相应的 MSYS2、Cygwin 环境
@@ -123,12 +123,13 @@ debug: build-in-debug-mode
123123
124124test : test-xy test-fw
125125
126+ # 这两个测试文件都用 DEBUG mode
126127test-xy :
127- @ {{ CC}} test/ xy.c {{ CFLAGS_dev_mode }} -o xy
128+ @ {{ CC}} test/ xy.c {{ CFLAGS_debug_mode }} -o xy
128129 @ {{ BIN_xy}}
129130
130131test-fw :
131- @ {{ CC}} test/ fw.c {{ CFLAGS_dev_mode }} -o fw
132+ @ {{ CC}} test/ fw.c {{ CFLAGS_debug_mode }} -o fw
132133 @ {{ BIN_fw}}
133134
134135fastcheck :
You can’t perform that action at this time.
0 commit comments