aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/nmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/hybrid/nmakefile')
-rw-r--r--dist/examples/cxx/hybrid/nmakefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/dist/examples/cxx/hybrid/nmakefile b/dist/examples/cxx/hybrid/nmakefile
index d832f97..8bd74e6 100644
--- a/dist/examples/cxx/hybrid/nmakefile
+++ b/dist/examples/cxx/hybrid/nmakefile
@@ -28,8 +28,12 @@ dirs = $(dirs) minimal
all:
@for %i in ( $(dirs) ) do \
-@cmd /c "cd %i & $(MAKE) /nologo /f nmakefile"
+@cmd /c "echo entering %i && cd %i && $(MAKE) /nologo /f nmakefile" || exit 1
-gen test clean cleanobj:
+gen test:
@for %i in ( $(dirs) ) do \
-@cmd /c "cd %i & $(MAKE) /nologo /f nmakefile $@"
+@cmd /c "echo entering %i && cd %i && $(MAKE) /nologo /f nmakefile $@" || exit 1
+
+clean cleanobj:
+ @for %i in ( $(dirs) ) do \
+@cmd /c "echo entering %i && cd %i && $(MAKE) /nologo /f nmakefile $@"