Skip to content

Instantly share code, notes, and snippets.

@mgirouard
Created July 24, 2017 20:47
Show Gist options
  • Save mgirouard/27d9fcd8364577a3ac4ed770ca2617cc to your computer and use it in GitHub Desktop.
Save mgirouard/27d9fcd8364577a3ac4ed770ca2617cc to your computer and use it in GitHub Desktop.
`make`ing with wildcard prereqs
consumers.go: $(wildcard data/consumers/*.pub)
ls -l data/consumers > consumers.go
cat consumers.go
clean:
rm -rf consumers.go data/consumers/*.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment