[riot-notifications] [RIOT-OS/RIOT] make: introduce $(CLEAN) (#11829)

Kaspar Schleiser notifications at github.com
Fri Jul 12 12:35:58 CEST 2019


kaspar030 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))

yup, fixed

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11829#discussion_r302926744
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190712/6d565e40/attachment.html>


More information about the notifications mailing list