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:
Do I need an appointment? Quest Private MD Labs
In other words, i want to pass some arguments which will eventually become variables in the makefile.
+ i was not familar.
The language accepted by gnu make is a superset of the one supported by the traditional make utility. If this file name was /bin/make, then the recipe executed is cd subdir. The definition is accessible inside the makefile. Msys2 have many types of runtime and they.
By using 'gmake' specifically you can use gnu make extensions. I want to use the make command as part of setting up the code environment, but i'm using windows. For variable assignment in make, i see := and = operator.