Allow "make clean" to clean files in tools
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 12 Feb 2011 08:50:46 +0000 (08:50 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 12 Feb 2011 23:54:05 +0000 (00:54 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 40321376d8aea3347bec9c4d09925e8c5b8edb55)

Makefile

index fbf4c76..99d264a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -169,6 +169,7 @@ clean:: testclean
        $(RM) $(CLEANSUFFIXES)
        $(RM) doc/*.html doc/*.pod doc/*.1
        $(RM) $(TOOLS)
        $(RM) $(CLEANSUFFIXES)
        $(RM) doc/*.html doc/*.pod doc/*.1
        $(RM) $(TOOLS)
+       $(RM) $(CLEANSUFFIXES:%=tools/%)
 
 distclean::
        $(RM) $(DISTCLEANSUFFIXES)
 
 distclean::
        $(RM) $(DISTCLEANSUFFIXES)