Created
January 17, 2017 18:28
-
-
Save jlouis/2057baee123e60d1eef93771b3625863 to your computer and use it in GitHub Desktop.
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
[jlouis@lady-of-pain ~]$ make | |
No | |
[jlouis@lady-of-pain ~]$ Y=y make | |
y | |
Yes |
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
.PHONY: foo | |
ifdef Y | |
X := "Yes" | |
else | |
X := "No" | |
endif | |
foo: | |
@echo ${Y} | |
@echo ${X} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment