Cd subdir && $(make) the value of this variable is the file name with which make was invoked. Can i pass variables to a gnu makefile as command line arguments? I usually pass macro definitions from make command line to a makefile using the option:
What's the difference between them?
The definition is accessible inside the makefile. + i was not familar. In other words, i want to pass some arguments which will eventually become variables in the makefile. If this file name was /bin/make, then the recipe executed is cd subdir.
By using 'gmake' specifically you can use gnu make extensions. For variable assignment in make, i see := and = operator. The error that you've quoted must have been preceded by an error from gcc, please quote that as well. The language accepted by gnu make is a superset of the one supported by the traditional make utility.
I want to use the make command as part of setting up the code environment, but i'm using windows.
Msys2 have many types of runtime and they.