summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-03-01 21:20:59 +0000
committerOlivier Gayot <duskcoder@gmail.com>2015-03-01 21:20:59 +0000
commit38866a9f5fb4485d215e51dcd6bb7255d24a9cc7 (patch)
treeb8cc42cb0a730e215c9227843952e95a6d467d6c
parent9e9c334b402fe79befb82153027e316a6cb1ff5c (diff)
fixed invalid syntax for `make distclean'
When using nested expansion, beware to use commas and not only spaces. Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
-rwxr-xr-xgen_makefile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_makefile.py b/gen_makefile.py
index 6585f3b..93adaf0 100755
--- a/gen_makefile.py
+++ b/gen_makefile.py
@@ -95,7 +95,7 @@ class makefile_generator():
])
self.append_static_rule('distclean', 'mrproper', [
'$(RM) $(addsuffix ~,$(SRC))',
- '$(RM) $(wildcard $(addsuffix .sw* $(addprefix .,$(SRC))))',
+ '$(RM) $(wildcard $(addsuffix .sw*,$(addprefix .,$(SRC))))',
])
# phony rule