Skip to content

Commit

Permalink
Extend clean rule in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jwiegley committed Apr 2, 2015
1 parent 925ee3a commit 82ebb97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Expand Up @@ -39,5 +39,11 @@ dot-gnus.elc: dot-gnus.el

clean:
rm -f *.elc
find . -name '*.elc' | while read file ; do \
if ! test -f $$(echo $$file | sed 's/\.elc$$/.el/'); then \
echo Removing old file: $$file ; \
rm $$file ; \
fi ; \
done

### Makefile ends here

0 comments on commit 82ebb97

Please sign in to comment.