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

    30 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: …

  2. What is ?= in Makefile - Stack Overflow

    Dec 19, 2023 · KDIR ?= $(shell uname -r) What is the meaning of ?=? I have understood the difference between :=, += and = from another thread available in Stack Overflow, but unable ...

  3. How to run a makefile in Windows? - Stack Overflow

    I have some demos that I downloaded and they come with a Makefile.win and a Makefile.sgi. How can I run these in Windows to compile the demos?

  4. gnu make - What is the difference between the GNU Makefile …

    0 Since no current answer mentions :::= or why it matters, I wrote a Makefile that demonstrates the expansion-time differences: # You may need to comment out entries not supported by your …

  5. 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?

  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 are Makefile.am and Makefile.in? - Stack Overflow

    Mar 28, 2010 · Makefile.am is a programmer-defined file and is used by automake to generate the Makefile.in file (the .am stands for a uto m ake). The configure script typically seen in source …

  8. 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.

  9. Makefile ifeq logical or - Stack Overflow

    Oct 5, 2011 · How do you perform a logical OR using make's ifeq operator? e.g., I have (simplified): ifeq ($(GCC_MINOR), 4) CFLAGS += -fno-strict-overflow endif ifeq …

  10. Makefile: How to correctly include header file and its directory?

    Mar 20, 2014 · This makefile and all three source files Lock.cpp, DBC.cpp, Trace.cpp are located in the current directory called Core. One of the source file Trace.cpp contains a line that …