Skip to content

Instantly share code, notes, and snippets.

@ianlewis
Created July 13, 2020 23:27
Show Gist options
  • Save ianlewis/9f055c239dfa0277f012bfcadc0bc7da to your computer and use it in GitHub Desktop.
Save ianlewis/9f055c239dfa0277f012bfcadc0bc7da to your computer and use it in GitHub Desktop.
# $ make
# dep1
#
# $ make test-foo
# dep2
# test-foo
#
# $ make dep3
# dep2
# dep1
# dep3
test-%: dep1
test-%: dep2
@echo test-$*
dep1:
@echo dep1
dep2:
@echo dep2
dep3: dep1
dep3: dep2
@echo dep3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment