diff options
author | joshua stein <jcs@jcs.org> | 2020-02-25 11:21:28 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-25 19:56:48 +0100 |
commit | 0d2bfe5c65b0820c84d77039b2b720194f44e68a (patch) | |
tree | 10d29307ed96b4de89e03247c2f395aebce5b35c /Games | |
parent | a17e702ebab0ac7241e7a1f84993bcae40195b19 (diff) | |
download | serenity-0d2bfe5c65b0820c84d77039b2b720194f44e68a.zip |
Build: Only look at SUBDIRS with Makefiles
If a directory is renamed or deleted before 'make clean', git will
delete the Makefile but leave all of the object and dependency files
around. When make would try to recurse into that directory from the
wildcard, it would error out since there is no Makefile.
Diffstat (limited to 'Games')
-rw-r--r-- | Games/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Games/Makefile b/Games/Makefile index 6a7b80e895..0025ae2061 100644 --- a/Games/Makefile +++ b/Games/Makefile @@ -1,3 +1,3 @@ -SUBDIRS := $(wildcard */.) +SUBDIRS := $(patsubst %/Makefile,%/,$(wildcard */Makefile)) include ../Makefile.subdir |