remove dated examples
This commit is contained in:
4
Makefile
4
Makefile
@@ -29,8 +29,8 @@ export PYTHON
|
||||
ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
|
||||
ifneq ($(ARGS),)
|
||||
# Declares each extra word as a target that does nothing: `:` is an empty rule
|
||||
# body and `@` silences it. Without this, `make build sample` runs the build and
|
||||
# then fails with "No rule to make target 'sample'", because make reads every
|
||||
# body and `@` silences it. Without this, `make build myroom` runs the build and
|
||||
# then fails with "No rule to make target 'myroom'", because make reads every
|
||||
# word on the line as something it has been asked to build.
|
||||
$(eval $(ARGS):;@:)
|
||||
# ...and as PHONY, because some of those words name real directories. `cfg`,
|
||||
|
||||
Reference in New Issue
Block a user