I usually pass macro definitions from make command line to a makefile using the option: Cd subdir && $(make) the value of this variable is the file name with which make was invoked. By using gmake specifically you can use gnu make extensions … · can i pass variables to a gnu makefile as command line arguments? I want to use the make command as part of setting up the code environment, but im using windows. · the error that youve quoted must have been preceded by an error from gcc, please quote that as well. 另外,需要指出的是,make和cmake主要命令只有一条,make用于处理makefile,cmake用来转译cmakelists. txt,而qmake是一个体系,用于支撑一个编程环境,它还包含除qmake之外的 … I also pass macro In other words, i want to pass some arguments which will eventually become variables in the makefile. I searched online, but i could only find a make. exe file, a make-4. 1. tar. gz file (i dont … + i was not familar … · for variable assignment in make, i see := and = operator. Msys2 have many types of runtime and they … If this file name was /bin/make, then the recipe executed is cd subdir … · the language accepted by gnu make is a superset of the one supported by the traditional make utility. You can do it globally via the -i flag (or --ignore-errors). The definition is accessible inside the makefile. · i prefer mingw-w64-x86_64-make rather than make because mingw version is depend on windows library directly, its faster. Whats the difference between them? You can do it globally with -s or --keep-silent - tells make to keep going, even if the command fails for some reason.