Created
August 8, 2019 21:01
-
-
Save squeedee/5c4057b52362b5525e292b09375dc267 to your computer and use it in GitHub Desktop.
Tool to print the evaluated inputs to a Makefile target - great for testing your makefile `$(shell find ....)` commands
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
target="${1:-you forgot a target}" | |
echo "Target is ${target}" | |
make -np ${target} | grep -e "^${target}:" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment