summaryrefslogtreecommitdiffstats
path: root/clang/Makefile
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-03-20 14:43:48 +0000
committerGabor Greif <ggreif@gmail.com>2008-03-20 14:43:48 +0000
commitfc39f1580234915763fdac6b4f29478546fce34a (patch)
treebd43260794154170560aebd4a1102e250255df8d /clang/Makefile
parentf5eb286707d0da6e7d385c04408efedf08453cdb (diff)
downloadbcm5719-llvm-fc39f1580234915763fdac6b4f29478546fce34a.tar.gz
bcm5719-llvm-fc39f1580234915763fdac6b4f29478546fce34a.zip
Use make's -C option to enter directories.
Also, do not try to remove build/ dir when cleaning, this does not exist any more. llvm-svn: 48599
Diffstat (limited to 'clang/Makefile')
-rw-r--r--clang/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/Makefile b/clang/Makefile
index e5333ee2503..06eeeae716e 100644
--- a/clang/Makefile
+++ b/clang/Makefile
@@ -4,13 +4,12 @@ DIRS := lib Driver
include $(LEVEL)/Makefile.common
test::
- @ cd test && $(MAKE) -f Makefile.parallel
+ @ $(MAKE) -C test -f Makefile.parallel
report::
- @ cd test && $(MAKE) -f Makefile.parallel report
+ @ $(MAKE) -C test -f Makefile.parallel report
clean::
- @ rm -rf build
- @ cd test && $(MAKE) -f Makefile.parallel clean
+ @ $(MAKE) -C test -f Makefile.parallel clean
.PHONY: test report clean
OpenPOWER on IntegriCloud