aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/nmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/nmakefile')
-rw-r--r--dist/examples/cxx/nmakefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/dist/examples/cxx/nmakefile b/dist/examples/cxx/nmakefile
index 110ed18..1ae0efb 100644
--- a/dist/examples/cxx/nmakefile
+++ b/dist/examples/cxx/nmakefile
@@ -2,8 +2,12 @@ dirs = hybrid parser serializer
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 $@"