[build] remove *.pyc files on clean

This commit is contained in:
Felix Ruess
2016-02-02 14:15:31 +01:00
parent 9f1b47e642
commit fc8ab48ddc
+1
View File
@@ -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]*$$//' \;