What is the meaning of $(Q)@: in MakefileWhat does @: (at symbol colon) mean in a Makefile?What is the difference between the GNU Makefile variable assignments =, ?=, := and +=?How do I write the 'cd' command in a makefile?What is the purpose of .PHONY in a makefile?What do the makefile symbols $@ and $< mean?Sources from subdirectories in MakefileWhat does @: (at symbol colon) mean in a Makefile?What are the major differences between makefile and CMakeListHow to print out a variable in makefileAssignment of variable in GNU MakefileIncluding sub makefiles in a master makefile: variables changed in sub makefile do not reflect in master makefile
How long would it take for people to notice a mass disappearance?
IP addresses from public IP block in my LAN
Would glacier 'trees' be plausible?
Uniform boundedness of the number of number fields having fixed discriminant
Copy previous line to current line from text file
Adjacent DEM color matching in QGIS
Why do people keep telling me that I am a bad photographer?
Homotopy limit over a diagram of nullhomotopic maps
Point of the Dothraki's attack in GoT S8E3?
What if the end-user didn't have the required library?
How to make a chinese doggy bag?
Why aren't nationalizations in Russia described as socialist?
Are pressure-treated posts that have been submerged for a few days ruined?
Appropriate certificate to ask for a fibre installation (ANSI/TIA-568.3-D?)
What exactly are the `size issues' preventing formation of presheaves being a left adjoint to some forgetful functor?
Has a commercial or military jet bi-plane ever been manufactured?
Why wasn't the Night King naked in S08E03?
29er Road Tire?
In Russian, how do you idiomatically express the idea of the figurative "overnight"?
What does 'made on' mean here?
How do inspiraling black holes get closer?
What is the solution to this metapuzzle from a university puzzling column?
SafeCracker #3 - We've Been Blocked
Why did Thanos need his ship to help him in the battle scene?
What is the meaning of $(Q)@: in Makefile
What does @: (at symbol colon) mean in a Makefile?What is the difference between the GNU Makefile variable assignments =, ?=, := and +=?How do I write the 'cd' command in a makefile?What is the purpose of .PHONY in a makefile?What do the makefile symbols $@ and $< mean?Sources from subdirectories in MakefileWhat does @: (at symbol colon) mean in a Makefile?What are the major differences between makefile and CMakeListHow to print out a variable in makefileAssignment of variable in GNU MakefileIncluding sub makefiles in a master makefile: variables changed in sub makefile do not reflect in master makefile
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I've read in linux Makefile:
$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make
$(Q)@:
What is the meaning of "$(Q)@:"?
I'm trying to google it, but google always crappy if the search using some weird character. So in the end i can't found any Manual about it.
makefile gnu-make
add a comment |
I've read in linux Makefile:
$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make
$(Q)@:
What is the meaning of "$(Q)@:"?
I'm trying to google it, but google always crappy if the search using some weird character. So in the end i can't found any Manual about it.
makefile gnu-make
add a comment |
I've read in linux Makefile:
$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make
$(Q)@:
What is the meaning of "$(Q)@:"?
I'm trying to google it, but google always crappy if the search using some weird character. So in the end i can't found any Manual about it.
makefile gnu-make
I've read in linux Makefile:
$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make
$(Q)@:
What is the meaning of "$(Q)@:"?
I'm trying to google it, but google always crappy if the search using some weird character. So in the end i can't found any Manual about it.
makefile gnu-make
makefile gnu-make
asked Apr 9 '16 at 18:55
nafsakanafsaka
509717
509717
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
After looking in the code. Q is defined somewhere after those line. Since makefile have peculiar concept of variable (which is expandable), it can be implement in anywhere. Q is used to whether show message or not (Q maybe for Quiet).
ifeq ($(KBUILD_VERBOSE),1)
quiet =
Q =
else
quiet=quiet_
Q = @
endif
And for the last @: this means do-nothing-output-nothing.
So the conclusion $(Q)@: simply do-nothing-output-nothing.
add a comment |
To reinforce and expand on what nafsaka found:
Sometimes Makefiles are written like this:
target:
rm -rf $(DIRECTORY)
$(Q)$(MAKE) all
And Q will be defined as @ or nothing for example:
V ?= 0
ifeq ($(V), 0)
Q = @
else
Q =
endif
If a target action is preceded by @ then make won't display it when run. Here's the GNU make documentation on that subject: Recipe Echoing
In this case you need to define V=1 before running make to see commands as they're run (This is very common).
Another wrinkle: Look for "include file.mk" statements in your Makefile, which is where V and Q were defined in my case. Here's the GNU make documentation on include: Including Other Makefiles
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f36521268%2fwhat-is-the-meaning-of-q-in-makefile%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
After looking in the code. Q is defined somewhere after those line. Since makefile have peculiar concept of variable (which is expandable), it can be implement in anywhere. Q is used to whether show message or not (Q maybe for Quiet).
ifeq ($(KBUILD_VERBOSE),1)
quiet =
Q =
else
quiet=quiet_
Q = @
endif
And for the last @: this means do-nothing-output-nothing.
So the conclusion $(Q)@: simply do-nothing-output-nothing.
add a comment |
After looking in the code. Q is defined somewhere after those line. Since makefile have peculiar concept of variable (which is expandable), it can be implement in anywhere. Q is used to whether show message or not (Q maybe for Quiet).
ifeq ($(KBUILD_VERBOSE),1)
quiet =
Q =
else
quiet=quiet_
Q = @
endif
And for the last @: this means do-nothing-output-nothing.
So the conclusion $(Q)@: simply do-nothing-output-nothing.
add a comment |
After looking in the code. Q is defined somewhere after those line. Since makefile have peculiar concept of variable (which is expandable), it can be implement in anywhere. Q is used to whether show message or not (Q maybe for Quiet).
ifeq ($(KBUILD_VERBOSE),1)
quiet =
Q =
else
quiet=quiet_
Q = @
endif
And for the last @: this means do-nothing-output-nothing.
So the conclusion $(Q)@: simply do-nothing-output-nothing.
After looking in the code. Q is defined somewhere after those line. Since makefile have peculiar concept of variable (which is expandable), it can be implement in anywhere. Q is used to whether show message or not (Q maybe for Quiet).
ifeq ($(KBUILD_VERBOSE),1)
quiet =
Q =
else
quiet=quiet_
Q = @
endif
And for the last @: this means do-nothing-output-nothing.
So the conclusion $(Q)@: simply do-nothing-output-nothing.
edited May 23 '17 at 10:29
Community♦
11
11
answered Apr 9 '16 at 20:03
nafsakanafsaka
509717
509717
add a comment |
add a comment |
To reinforce and expand on what nafsaka found:
Sometimes Makefiles are written like this:
target:
rm -rf $(DIRECTORY)
$(Q)$(MAKE) all
And Q will be defined as @ or nothing for example:
V ?= 0
ifeq ($(V), 0)
Q = @
else
Q =
endif
If a target action is preceded by @ then make won't display it when run. Here's the GNU make documentation on that subject: Recipe Echoing
In this case you need to define V=1 before running make to see commands as they're run (This is very common).
Another wrinkle: Look for "include file.mk" statements in your Makefile, which is where V and Q were defined in my case. Here's the GNU make documentation on include: Including Other Makefiles
add a comment |
To reinforce and expand on what nafsaka found:
Sometimes Makefiles are written like this:
target:
rm -rf $(DIRECTORY)
$(Q)$(MAKE) all
And Q will be defined as @ or nothing for example:
V ?= 0
ifeq ($(V), 0)
Q = @
else
Q =
endif
If a target action is preceded by @ then make won't display it when run. Here's the GNU make documentation on that subject: Recipe Echoing
In this case you need to define V=1 before running make to see commands as they're run (This is very common).
Another wrinkle: Look for "include file.mk" statements in your Makefile, which is where V and Q were defined in my case. Here's the GNU make documentation on include: Including Other Makefiles
add a comment |
To reinforce and expand on what nafsaka found:
Sometimes Makefiles are written like this:
target:
rm -rf $(DIRECTORY)
$(Q)$(MAKE) all
And Q will be defined as @ or nothing for example:
V ?= 0
ifeq ($(V), 0)
Q = @
else
Q =
endif
If a target action is preceded by @ then make won't display it when run. Here's the GNU make documentation on that subject: Recipe Echoing
In this case you need to define V=1 before running make to see commands as they're run (This is very common).
Another wrinkle: Look for "include file.mk" statements in your Makefile, which is where V and Q were defined in my case. Here's the GNU make documentation on include: Including Other Makefiles
To reinforce and expand on what nafsaka found:
Sometimes Makefiles are written like this:
target:
rm -rf $(DIRECTORY)
$(Q)$(MAKE) all
And Q will be defined as @ or nothing for example:
V ?= 0
ifeq ($(V), 0)
Q = @
else
Q =
endif
If a target action is preceded by @ then make won't display it when run. Here's the GNU make documentation on that subject: Recipe Echoing
In this case you need to define V=1 before running make to see commands as they're run (This is very common).
Another wrinkle: Look for "include file.mk" statements in your Makefile, which is where V and Q were defined in my case. Here's the GNU make documentation on include: Including Other Makefiles
answered Mar 22 at 23:20
Brad DreBrad Dre
1,3721016
1,3721016
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f36521268%2fwhat-is-the-meaning-of-q-in-makefile%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown