From dc4d163f13dd3ca1c6aca86ffee5533b7b9747ae Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Tue, 8 Jan 2019 07:17:19 +0000 Subject: [PATCH] Isolate directories for clean-compiler rule. --- src/Makefile.tools.in | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/Makefile.tools.in b/src/Makefile.tools.in index b4a225c4b..d3c3b1203 100644 --- a/src/Makefile.tools.in +++ b/src/Makefile.tools.in @@ -300,12 +300,13 @@ compile-compiler-rtlopt: syntax-compiler .PHONY: clean-compiler clean-compiler: - -cd tools/compiler/back && rm -f $(SCHEME_OBJECTS_PATTERN) - -cd tools/compiler/base && rm -f $(SCHEME_OBJECTS_PATTERN) - -cd tools/compiler/fggen && rm -f $(SCHEME_OBJECTS_PATTERN) - -cd tools/compiler/fgopt && rm -f $(SCHEME_OBJECTS_PATTERN) - -cd tools/compiler/machine && rm -f $(SCHEME_OBJECTS_PATTERN) - -cd tools/compiler/rtlbase && rm -f $(SCHEME_OBJECTS_PATTERN) - -cd tools/compiler/rtlgen && rm -f $(SCHEME_OBJECTS_PATTERN) - -cd tools/compiler/rtlopt && rm -f $(SCHEME_OBJECTS_PATTERN) + -(cd tools/compiler && rm -f $(SCHEME_OBJECTS_PATTERN)) + -(cd tools/compiler/back && rm -f $(SCHEME_OBJECTS_PATTERN)) + -(cd tools/compiler/base && rm -f $(SCHEME_OBJECTS_PATTERN)) + -(cd tools/compiler/fggen && rm -f $(SCHEME_OBJECTS_PATTERN)) + -(cd tools/compiler/fgopt && rm -f $(SCHEME_OBJECTS_PATTERN)) + -(cd tools/compiler/machine && rm -f $(SCHEME_OBJECTS_PATTERN)) + -(cd tools/compiler/rtlbase && rm -f $(SCHEME_OBJECTS_PATTERN)) + -(cd tools/compiler/rtlgen && rm -f $(SCHEME_OBJECTS_PATTERN)) + -(cd tools/compiler/rtlopt && rm -f $(SCHEME_OBJECTS_PATTERN)) clean: clean-compiler -- 2.25.1