summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgen_makefile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gen_makefile.py b/gen_makefile.py
index 3b70af4..2f4e3f8 100755
--- a/gen_makefile.py
+++ b/gen_makefile.py
@@ -91,6 +91,7 @@ class makefile_generator():
])
self.append_static_rule('distclean', 'mrproper', [
'$(RM) $(addsuffix ~,$(SRC))',
+ '$(RM) $(wildcard $(addsuffix .sw* $(addprefix .,$(SRC))))',
])
# phony rule