summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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