Skip to content

Commit ca1f2ef

Browse files
committed
utils: make
Signed-off-by: Luc Ma <[email protected]>
1 parent 45948b4 commit ca1f2ef

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/_posts/utils/make.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ categories: utilities
66
---
77

88

9-
<!--more-->
109
# Make 常用参数
1110

1211
## -d, --debug=FLAGS
@@ -25,11 +24,13 @@ categories: utilities
2524
| r | Remaking |重制检查:显示 makefile 自身的重制决策|
2625
| n | None |禁用所有调试(特殊用途) |
2726

27+
<!--more-->
28+
2829
# Make 常用变量
2930

3031
## Make 变量赋值操作符
3132

32-
```
33+
```make
3334
immediate = deferred
3435
immediate ?= deferred
3536
immediate := immediate
@@ -44,7 +45,7 @@ immediate != immediate
4445

4546
表示执行 make 命令时用户给入的 targets, 这里*执行 make 命令时* 不仅包括从终端命令行执行 make, 也包括在 Makefile 规则里执行 `make -f ...`
4647

47-
```
48+
```make
4849
$(info $(MAKECMDGOALS))
4950
```
5051

0 commit comments

Comments
 (0)