我想在Makefile中用ifneq实现如下功能: ifneq ($(A), 1) && ($(A), 2) 但这种写法编译不过,不知怎么写。
by done_and_todo - C/C++ - 2012-12-21 21:21:09 阅读(2116) 回复(1)
在makefile里面看到这个代码,不太理解,请教下大家 代码段 ifneq ($(filter eng user userdebug tests,$(MAKECMDGOALS)),) $(info ***************************************************************) $(info ***************************************************************) $(info Don't pass '$(filter eng user userdebug tests,$(MAKECMDGOALS))' on \ the make command line.) # XXX The single quote on this line f...