From 38866a9f5fb4485d215e51dcd6bb7255d24a9cc7 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 1 Mar 2015 21:20:59 +0000 Subject: fixed invalid syntax for `make distclean' When using nested expansion, beware to use commas and not only spaces. Signed-off-by: Olivier Gayot --- gen_makefile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3