
Ask Mr. Make: GNU Make Gotcha: ifndef and ?=
Address
John Graham-Cumming info@cmcrossroads.com
By John Graham-Cumming
This month's article is about a little GNU Make Gotcha: an easy way to get tripped up by two pieces of GNU Make syntax that do similar things, yet one has a deceptive name. ifndef isn't really ifndef at all, it would better if it were called ifempty, while ?= does make its decision based on whether the variable is defined or not. Read more from "Mr. Make"...
This month's article is about a little GNU Make Gotcha: an easy way to get tripped up by two pieces of GNU Make syntax that do similar things, yet one has a deceptive name. ifndef isn't really ifndef at all, it would better if it were called ifempty, while ?= does make its decision based on whether the variable is defined or not. Read more from "Mr. Make"...
Reviews (0)
Be the first to review this listing!
