Last active
August 15, 2018 07:14
-
-
Save kmsheng/26d713e9339225b98f49bbe243cdbb4a to your computer and use it in GitHub Desktop.
Make if example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WGET_PATH := /wrong/path | |
ifeq ($(WGET_PATH), /wrong/path) | |
WGET_PATH := /usr/bin/wget | |
endif | |
all:;@echo $(WGET_PATH) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment