summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/Makefile.in')
-rw-r--r--winsup/mingw/Makefile.in23
1 files changed, 12 insertions, 11 deletions
diff --git a/winsup/mingw/Makefile.in b/winsup/mingw/Makefile.in
index 31c0accc9..2108919e0 100644
--- a/winsup/mingw/Makefile.in
+++ b/winsup/mingw/Makefile.in
@@ -218,17 +218,18 @@ install: all $(install_dlls_host)
done
@$(MAKE) subdirs DO=$@ $(FLAGS_TO_PASS)
-subdirs: force
- @for i in should-never-exist $(SUBDIRS); do \
- if [ -d ./$$i ] ; then \
- echo "Making $(DO) in $${i}..." ; \
- if (rootme=`pwd`/ ; export rootme ; \
- rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
- cd ./$$i; \
- $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
- else exit 1 ; fi ; \
- else true ; fi ; \
- done
+subdirs: $(SUBDIRS)
+ @true
+
+. $(SUBDIRS): force
+ @if [ -d ./$@ ]; then \
+ echo "Making $(DO) in $@..." ; \
+ if (rootme=`pwd`/ ; export rootme ; \
+ rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \
+ cd ./$@;
+ $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
+ else exit 1 ; fi ; \
+ else true ; fi ; \
force: