aboutsummaryrefslogtreecommitdiff
path: root/dist/nmakefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-21 12:38:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-21 12:38:19 +0200
commit04579ecc3a70ecf52418110cdaef92663be55dcb (patch)
tree89c35aee3dd55c664c020ae2cd1e7da0c7557401 /dist/nmakefile
parent4b65a4d2d14b40a82335c372da91bdfc4ab5b11e (diff)
nmakefile build system improvements
Print the directory name being entered. Stop after first failure.
Diffstat (limited to 'dist/nmakefile')
-rw-r--r--dist/nmakefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/dist/nmakefile b/dist/nmakefile
index 26d240e..146acc6 100644
--- a/dist/nmakefile
+++ b/dist/nmakefile
@@ -2,12 +2,16 @@ dirs = libxsde examples
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
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
-gen clean cleanobj:
+gen:
@for %i in ( $(dirs) tests ) 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) tests ) do \
+@cmd /c "echo entering %i && cd %i && $(MAKE) /nologo /f nmakefile $@"