diff options
author | Alejandro Colomar <alx@kernel.org> | 2023-09-06 13:38:03 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-09-06 13:38:03 +0200 |
commit | f30c0d9d3e56bff2f41e8c3d01f7add49630f5bb (patch) | |
tree | 714c382e0655b125bd2922c55e2a4c48566d1f97 /GNUmakefile | |
parent | 54b1fa10c33b3304a8847faa283abb5d68d90045 (diff) |
*.mk: Have the makefiles as dependencies of all files
If any makefile is modified, all files should be remade.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 355c2fdfe..5f21bbc0b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -121,9 +121,10 @@ help: .SECONDEXPANSION: -MK := $(wildcard $(addprefix $(MAKEFILEDIR)/, *.mk */*.mk */*/*.mk)) -include $(MK) -$(srcdir)/GNUMakefile $(MK):: ; +MK_ := $(wildcard $(addprefix $(MAKEFILEDIR)/, *.mk */*.mk */*/*.mk)) +MK := $(srcdir)/GNUMakefile $(MK_) +include $(MK_) +$(MK):: ; .PHONY: help-variables |