Skip to content

Instantly share code, notes, and snippets.

@rlespinasse
Created June 5, 2019 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rlespinasse/9354c2f6610507c5117c11327772c719 to your computer and use it in GitHub Desktop.
Save rlespinasse/9354c2f6610507c5117c11327772c719 to your computer and use it in GitHub Desktop.
vars-setup in makefile
task-with-vars-setup: KEY=$(shell ./get-key)
task-with-vars-setup: VALUE=$(shell ./get-value)
task-with-vars-setup:
@echo The key is $(KEY)
@echo The value is $(VALUE)
./call-script-with $(KEY) $(VALUE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment