Skip to content

Instantly share code, notes, and snippets.

@afirth
Last active January 15, 2020 14:08
Show Gist options
  • Save afirth/13630e948592966f1ac44532175a3696 to your computer and use it in GitHub Desktop.
Save afirth/13630e948592966f1ac44532175a3696 to your computer and use it in GitHub Desktop.
vim add phony targets for makefiles
%s/^\([a-z-]\+\):/.PHONY: \1\r\1:/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment