From df8bc572587f04b29055bb3a36f8c3b724c63b96 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 26 Mar 2004 21:38:45 +0000 Subject: Don't use pushd/popd. --- src/mesa/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/mesa/Makefile') diff --git a/src/mesa/Makefile b/src/mesa/Makefile index a90ac8275a..114388ff5b 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 -- cgit v1.2.3