What is the difference between an ifeq directive in GNU Make and the if function?
When should I use each? Are they different because ifeq is parsed by a “pre-processor” in GNU Make?
What is the difference between an ifeq directive in GNU Make and the if
Share
The
iffunction is for conditional expansion. Theifeqfunction and other regular conditionals has no guarantee that the parts will not be expanded if they are not true. Check out the links (in particular the first one) for a bit of elaboration.