Messages in this thread Patch in this message | | | Date | Sun, 7 Aug 2011 17:39:31 +0900 | From | Kusanagi Kouichi <> | Subject | [PATCH] perf tools: make clean leaves some files. |
| |
Use LIB_OBJS and BUILTIN_OBJS for .o files. LIB_FILE is already prefixed with OUTPUT.
Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> --- tools/perf/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 56d62d3..d63f513 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -895,7 +895,7 @@ quick-install-html: ### Cleaning rules clean: - $(RM) $(OUTPUT){*.o,*/*.o,*/*/*.o,*/*/*/*.o,$(LIB_FILE),perf-archive} + $(RM) $(LIB_OBJS) $(BUILTIN_OBJS) $(LIB_FILE) $(OUTPUT)perf-archive $(OUTPUT)perf.o $(LANG_BINDINGS) $(RM) $(ALL_PROGRAMS) perf $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo $(OUTPUT)common-cmds.h TAGS tags cscope* $(MAKE) -C Documentation/ clean -- 1.7.5.4
| |