About 86 results
Open links in new tab
  1. What do the makefile symbols $@ and $< mean? - Stack Overflow

    29 The Makefile builds the hello executable if any one of main.cpp, hello.cpp, factorial.cpp changed. The smallest possible Makefile to achieve that specification could have been: hello: main.cpp hello.cpp …

  2. What's the difference between := and = in Makefile?

    Feb 2, 2011 · For variable assignment in Make, I see := and = operator. What's the difference between them?

  3. makefile - What do @, - and + do as prefixes to recipe lines in Make ...

    270 In the GNU Makefile manual, it mentions these prefixes. If .ONESHELL is provided, then only the first line of the recipe will be checked for the special prefix characters (‘@’, ‘-’, and ‘+’). What do …

  4. What is ?= in Makefile - Stack Overflow

    Dec 19, 2023 · What is ?= in Makefile Asked 11 years, 5 months ago Modified 1 year, 11 months ago Viewed 122k times

  5. What does a percent symbol do in a makefile? - Stack Overflow

    Dec 23, 2016 · A makefile is processed sequentially, line by line. Variable assignments are "internalized", and include statements cause the contents of other files to be inserted literally at that …

  6. How to write a Makefile to compile a simple C program

    Feb 4, 2014 · A makefile is a recipe for the make utility how to create some file (called a target) from some other files (called dependencies) using a set of commands run by the shell.

  7. What do $@ and $< in a makefile mean? - Unix & Linux Stack Exchange

    Feb 23, 2014 · I am seeing a makefile and it has the symbols $@ and $&lt; in it. I have never seen them, and Google does not show any results about them. Do you know what these commands do?

  8. what do the "-o" "-f" "-c" and "-g" etc mean in make?

    May 26, 2013 · The -f flag in make is defined as follows, make -f makefile Specifies a different makefile. The argument makefile is a pathname of a description file, which is also referred to as the makefile. …

  9. What does @: (at symbol colon) mean in a Makefile?

    Dec 22, 2011 · What does the following do in a Makefile? rule: $(deps) @: I can't seem to find this in the make manual.

  10. makefile - how to "execute" make file - Stack Overflow

    You don't tend to execute the make file itself, rather you execute make, giving it the make file as an argument: make -f pax.mk If your make file is actually one of the standard names (like makefile or …