[riot-notifications] [RIOT-OS/RIOT] make: introduce $(CLEAN) (#11829)
notifications at github.com
Fri Jul 12 12:26:35 CEST 2019
cladmi commented on this pull request.
> @@ -80,6 +80,13 @@ MAKEOVERRIDES += $(foreach v,$(__DIRECTORY_VARIABLES),$(v)=$($(v)))
# trailing '/' is important when RIOTPROJECT == CURDIR
BUILDRELPATH ?= $(patsubst $(RIOTPROJECT)/%,%,$(CURDIR)/)
+# Set CLEAN to "clean" if that target was requested.
+# Allowis recipes to be run after cleaning, without triggering it implicitly:
+# all: | $(CLEAN)
+CLEAN=$(filter clean, $(MAKECMDGOALS))
This is not bash, we use spaces around equals.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications