aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/binary/nmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/hybrid/binary/nmakefile')
-rw-r--r--dist/examples/cxx/hybrid/binary/nmakefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/dist/examples/cxx/hybrid/binary/nmakefile b/dist/examples/cxx/hybrid/binary/nmakefile
new file mode 100644
index 0000000..384694a
--- /dev/null
+++ b/dist/examples/cxx/hybrid/binary/nmakefile
@@ -0,0 +1,29 @@
+root = ..\..\..\..
+
+!include $(root)\build\config.nmake
+
+dirs =
+
+!if "$(XSDE_IOSTREAM)" == "y"
+!if "$(XSDE_EXCEPTIONS)" == "y"
+
+dirs = $(dirs) custom
+
+!if "$(XSDE_CDR)" == "y"
+dirs = $(dirs) cdr
+!endif
+
+!if "$(XSDE_XDR)" == "y"
+dirs = $(dirs) xdr
+!endif
+
+!endif
+!endif
+
+all:
+ @for %i in ( $(dirs) ) do \
+@cmd /c "cd %i & $(MAKE) /nologo /f nmakefile"
+
+test clean:
+ @for %i in ( $(dirs) ) do \
+@cmd /c "cd %i & $(MAKE) /nologo /f nmakefile $@"