summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/Makefile b/src/mesa/drivers/dri/Makefile
index 5a961e96af..2967106ea5 100644
--- a/src/mesa/drivers/dri/Makefile
+++ b/src/mesa/drivers/dri/Makefile
@@ -17,15 +17,11 @@ $(LIB_DIR):
subdirs:
@for dir in $(SUBDIRS) ; do \
- pushd $$dir ; \
- make ; \
- popd ; \
+ (cd $$dir ; make) ; \
done
clean:
@for dir in $(SUBDIRS) ; do \
- pushd $$dir ; \
- make clean ; \
- popd ; \
+ (cd $$dir ; make clean) ; \
done