aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-03-26 21:38:45 +0000
committerBrian Paul <[email protected]>2004-03-26 21:38:45 +0000
commitdf8bc572587f04b29055bb3a36f8c3b724c63b96 (patch)
tree332a22d8fb9d7d8d1608e7a2419b7bd33bd8d194 /src/mesa
parentd6de4d8b33e72cde9f5f14c0d2d21071ea007fc2 (diff)
Don't use pushd/popd.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/Makefile8
-rw-r--r--src/mesa/drivers/dri/Makefile8
2 files changed, 4 insertions, 12 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index a90ac8275ac..114388ff5bb 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -97,9 +97,7 @@ stand-alone: depend subdirs $(LIB_DIR)/$(GL_LIB_NAME) $(LIB_DIR)/$(OSMESA_LIB_NA
osmesa-only: depend subdirs $(LIB_DIR)/$(OSMESA_LIB_NAME)
subdirs:
- @pushd x86 ; \
- make ; \
- popd
+ (cd x86 ; make)
# Make the GL library
$(LIB_DIR)/$(GL_LIB_NAME): $(STAND_ALONE_OBJECTS)
@@ -167,9 +165,7 @@ clean:
-rm -f */*.o
rm -f depend
for dir in $(SUBDIRS) ; do \
- pushd $$dir ; \
- make clean ; \
- popd ; \
+ (cd $$dir ; make clean) ; \
done
include depend
diff --git a/src/mesa/drivers/dri/Makefile b/src/mesa/drivers/dri/Makefile
index 5a961e96afe..2967106ea5d 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