Skip to content

Instantly share code, notes, and snippets.

@thirdreplicator
Created April 11, 2015 08:58
Show Gist options
  • Save thirdreplicator/cdf1a2cb48024648b3d6 to your computer and use it in GitHub Desktop.
Save thirdreplicator/cdf1a2cb48024648b3d6 to your computer and use it in GitHub Desktop.
How to debug a makefile
# Add this line to your Makefile.
print-%: ; @echo $*=$($*)
# if you want to know the name of the value of SOURCE_FILES,
make print-SOURCE_FILES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment