diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile index 7f8dfd09cd8..8003c5a95c5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -13,9 +13,7 @@ default: $(LIB_DIR) subdirs subdirs: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - pushd $$dir ; \ - make ; \ - popd ; \ + (cd $$dir ; make) ; \ fi \ done @@ -27,8 +25,6 @@ $(LIB_DIR): clean: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - pushd $$dir ; \ - make clean ; \ - popd ; \ + (cd $$dir ; make clean) ; \ fi \ done |