summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-03-26 21:38:45 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-03-26 21:38:45 +0000
commitdf8bc572587f04b29055bb3a36f8c3b724c63b96 (patch)
tree332a22d8fb9d7d8d1608e7a2419b7bd33bd8d194 /Makefile
parentd6de4d8b33e72cde9f5f14c0d2d21071ea007fc2 (diff)
Don't use pushd/popd.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 853bc3c6ee..5c954e574d 100644
--- a/Makefile
+++ b/Makefile
@@ -7,17 +7,13 @@ SUBDIRS = src progs
default: $(TOP)/configs/current
@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