2014年1月18日

[quote] How to determine what target is given in Makefile from the make command-line?

摘要: Yes, you could get the target that is given from the make command-line by using MAKECMDGOALSfor example below,ifneq "$(MAKECMDGOALS)" "clean"-include config.mkendifthat is when using make clean in command-line, config.mk will not be included.otherwise, like "make" will 阅读全文

posted @ 2014-01-18 14:47 Shawn X.Y. Bai 阅读(161) 评论(0) 推荐(0)

导航