我在makefile中读到了关于递归变量的内容.因为我们在下面的代码中加上'=',它是一个递归变量,与':='相对应
CC = gcc -Wall
# we want to add something to the end of the variable
CC = $(CC) -g
hello.o: hello.c hello_api .h
$(CC) -c hello.c -o hello.o
Run Code Online (Sandbox Code Playgroud)
我还是不明白,为什么在这种情况下我们有一个非常大的循环.
| 归档时间: |
|
| 查看次数: |
1232 次 |
| 最近记录: |