在我的项目的makefile中,有类似的代码:
ifneq ($(MAKECMDGOALS), rebuild) ifneq ($(MAKECMDGOALS), rerun) ifneq ($(MAKECMDGOALS), distclean) ifneq ($(MAKECMDGOALS), clean) ifneq ($(MAKECMDGOALS), mostlyclean) ifneq ($(MAKECMDGOALS), dep-clean) ifneq ($(MAKECMDGOALS), tools) ifneq ($(MAKECMDGOALS), tools-clean) include $(DEPENDENCIES) endif endif endif endif endif endif endif endif
太累了..有没有办法让它变得更简单?