I saw code similar to the following code in the Makefile:
a: x = 0
What does this line mean? Is this a rule or something else?
This is called the target variable, see https://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html
It gives a different value to the variable inside the given target.
Sample Usage:
x := 0 a: x := 1 a: @echo $x b: @echo $x
Now:
$ make a 1 $ make b 0
Source: https://habr.com/ru/post/921551/More articles:What codes, such as CC, LD, and CC [M] are output when compiling the Linux kernel? - linuxWhy doesn't my HttpConfiguration type have a ServiceResolver type using .Net MVC 4 with WebApi? - asp.net-mvchttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/921548/in-kernel-makefile-call-cmd-tags-what-is-the-cmd-here-refers-to&usg=ALkJrhhp6PLIA6-1L2HaSoI7sdOWXYgSogSphinx integration in MySQL - mysqlWhat are the possible OpCodes for the latest method statement? - c #How to show searchResultsTableView when search bar is activated? - iosWhy doesn't OS X 10.8 Mountain Lion find the X11 library when creating software? - osx-mountain-lionWhat is optimized? - javaCan SMJobSubmit () be used to execute the privileged helper installed by SMJobBless? - objective-cSMJobRemove succeeds, but plist and helper are not removed - objective-cAll Articles