脚本系列 —— 从Makefile中学习“ifneq / ifeq, filter, strip”(持续更新)例1例2
例1ifneq "" "$(filter eng.%,$(BUILD_NUMBER))" # BUILD_NUMBER has a timestamp in it, which means that # it will change every time. Pick a stable value. FILE_NAME_TAG := eng.$(USER)else FILE_NAME_TAG := $(BUILD_NUMBER)endif上面这段语