Last active
October 14, 2016 23:27
-
-
Save irondoge/b379c6ae585ddae7611865bc74573332 to your computer and use it in GitHub Desktop.
extract Makefile variables
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
$ cat Makefile | |
NAME := star my github repo's pliz | |
NAME2 = OK | |
get-%:; $($*) | |
$ make -n get-NAME | |
star my github repo's pliz | |
$ make -n get-NAME2 | |
OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment