Posts

Showing posts with the label makefile

GNU Make's Two Personalities: Understanding Simple (:=) vs. Recursive (=) Variables

Image
There are two major flavours of variables in GNU Make:  "simple" and "recursive".  While si…

GNU Make - Unconditionally run a target before any other targets

When writing a (GNU) Makefile, there are times when you need a particular target(s) to be run before anything else…