Files
myos/make/end.mk
T
Yann Autissier b665296f2c ipfs v0.15.0
2022-09-28 14:02:57 +00:00

8 lines
360 B
Makefile

# Accept arguments for CMDS targets and turn them into do-nothing targets
ifneq ($(filter $(CMDS),$(firstword $(MAKECMDGOALS))),)
ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
ARGS := $(subst :,\:,$(ARGS))
ARGS := $(subst &,\&,$(ARGS))
$(eval $(ARGS):;@:)
endif