Isolate directories for clean-compiler rule.
authorTaylor R Campbell <campbell@mumble.net>
Tue, 8 Jan 2019 07:17:19 +0000 (07:17 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 9 Jan 2019 03:53:03 +0000 (03:53 +0000)
src/Makefile.tools.in

index b4a225c4bab12daac01e1886401e71bbf2330ebe..d3c3b1203a64c026749c6cbe79aa3a312c6dc04f 100644 (file)
@@ -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