定义变量 CPP_MODE := 1 FB_EXT := .c 并不需要说明变量的类型,就跟python一样 取变量值: $(CPP_MODE) 分支结构: ifeq ($(CPP_MODE),0) else endif