Makefile: Add removal of *.exe files to clean target
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 13 Mar 2009 23:54:26 +0000 (18:54 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 3 Apr 2009 23:06:06 +0000 (01:06 +0200)
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Makefile

index 7ae31091c42a0f1b47cf8a9b9d1502c54f9ecbd1..22a275b0582dcb876d5b075fdf18dd018966a0f1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3520,7 +3520,7 @@ clean:
        @rm -f $(obj)api_examples/demo $(TIMESTAMP_FILE) $(VERSION_FILE)
        @find $(OBJTREE) -type f \
                \( -name 'core' -o -name '*.bak' -o -name '*~' \
-               -o -name '*.o'  -o -name '*.a'  \) -print \
+               -o -name '*.o'  -o -name '*.a' -o -name '*.exe' \) -print \
                | xargs rm -f
 
 clobber:       clean