aboutsummaryrefslogtreecommitdiff
path: root/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
commit4c0c97dd5457ea4c79f44efc90b151a5775a1f0a (patch)
tree50b4e82c6f9b0afd72a35ca9b584a393e0c52579 /Makefile
parent5267d7c79cdea0c3015a317c089d5e5a5933a560 (diff)
Use make's -C option to enter directories.
Also, do not try to remove build/ dir when cleaning, this does not exist any more. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e5333ee250..06eeeae716 100644
--- a/Makefile
+++ b/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