Skip to content

Commit

Permalink
Use the term 'generic' for the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Joppe committed Mar 22, 2024
1 parent a1fff28 commit 6284bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# Define this project only once
ifndef $/_NAME

# Define the usage examples here only once
# Define these generic examples only once
ifndef _NAME
_NAME := $(notdir $(realpath $/.))

Expand All @@ -41,7 +41,7 @@ _NAME := $(notdir $(realpath $/.))
# This recipy will not execute again unless an update is actually needed, because $$/normal-target *was touched*.
$/this-is-much-better: ; touch $@

.PHONY: $/normal-target # This is how to force the recipy to re-execute every `make` where $/normal-target is needed.
.PHONY: $/normal-target # This is how to force that recipy to re-execute every `make` where $/normal-target is needed.
# Another way is to have a .PHONY target as a dependency after `:`, before any `|`.
# A third (recommended) way is to not create and update the target in its recipy.

Expand Down

0 comments on commit 6284bf3

Please sign in to comment.