Fixed typo in comment
This commit is contained in:
parent
4120b1855a
commit
0a91557bd5
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
# Taken from: https://stackoverflow.com/questions/2214575/passing-arguments-to-make-run
|
# Taken from: https://stackoverflow.com/questions/2214575/passing-arguments-to-make-run
|
||||||
# If the first argument is "new"...
|
# If the first argument is "new"...
|
||||||
ifeq (new,$(firstword $(MAKECMDGOALS)))
|
ifeq (new,$(firstword $(MAKECMDGOALS)))
|
||||||
# use the rest as arguments for "run"
|
# use the rest as arguments for "new"
|
||||||
NEW_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
|
NEW_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
|
||||||
# ...and turn them into do-nothing targets
|
# ...and turn them into do-nothing targets
|
||||||
$(eval $(NEW_ARGS):;@:)
|
$(eval $(NEW_ARGS):;@:)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user