diff --git a/Makefile b/Makefile index 2897ef0821..a0fe31095d 100644 --- a/Makefile +++ b/Makefile @@ -273,6 +273,7 @@ clean: $(Q)find . -mindepth 2 -name Makefile -a ! -path "./sw/ext/*" -exec sh -c 'echo "Cleaning {}"; $(MAKE) -C `dirname {}` $@' \; $(Q)$(MAKE) -C $(EXT) clean $(Q)find . -name '*~' -exec rm -f {} \; + $(Q)find . -name '*.pyc' -exec rm -f {} \; cleanspaces: find sw -path sw/ext -prune -o -name '*.[ch]' -exec sed -i {} -e 's/[ \t]*$$//' \;