在Makefile中,下面两个实例make后,$(frobozz)的值分别是() 示例一: bar = foo = $(bar) ifdef foo frobozz = yes else frobozz = no endif 示例二: foo = ifdef foo frobozz = yes else frobozz = no endif
区块链毕设网qklbishe.com为您提供问题的解答
在Makefile中,下面两个实例make后,$(frobozz)的值分别是()
示例一:
bar =
foo = $(bar)
ifdef foo
frobozz = yes
else
frobozz = no
endif
示例二:
foo =
ifdef foo
frobozz = yes
else
frobozz = no
endif
ifdef <variable>用来判断变量是否被赋值,没有赋值为假,赋值了即使为空也是真,因此第一个if-else为真,第二个if-else为假</variable>
45:48
以上就是关于问题在Makefile中,下面两个实例make后,$(frobozz)的值分别是() 示例一: bar =
foo = $(bar)
ifdef foo
frobozz = yes
else
frobozz = no
endif
示例二:
foo =
ifdef foo
frobozz = yes
else
frobozz = no
endif的答案
欢迎关注区块链毕设网-
专业区块链毕业设计成品源码,定制。
区块链NFT链游项目方科学家脚本开发培训