《跟我一起写Makefile》学习笔记(五)

1.使用条件判断
语法:

<conditional-directive>
<text-if-true>
endif

<conditional-directive>
<text-if-true>
else
<text-if-false>
endif

2.关键字
“ifeq”
“ifneq”
“ifdef”
“ifndef”

猜你喜欢

转载自blog.csdn.net/qq_36412526/article/details/87696781