aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/serializer
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/serializer')
-rw-r--r--dist/examples/cxx/serializer/makefile3
-rw-r--r--dist/examples/cxx/serializer/nmakefile4
2 files changed, 7 insertions, 0 deletions
diff --git a/dist/examples/cxx/serializer/makefile b/dist/examples/cxx/serializer/makefile
index 7677036..4164240 100644
--- a/dist/examples/cxx/serializer/makefile
+++ b/dist/examples/cxx/serializer/makefile
@@ -4,6 +4,8 @@ include $(root)/build/config.make
dirs :=
+ifeq ($(XSDE_CUSTOM_ALLOCATOR),n)
+
ifeq ($(XSDE_STL),y)
ifeq ($(XSDE_IOSTREAM),y)
ifeq ($(XSDE_EXCEPTIONS),y)
@@ -35,6 +37,7 @@ endif
endif
endif
+endif # XSDE_CUSTOM_ALLOCATOR
.PHONY: all $(dirs)
diff --git a/dist/examples/cxx/serializer/nmakefile b/dist/examples/cxx/serializer/nmakefile
index cd87db8..ee2224d 100644
--- a/dist/examples/cxx/serializer/nmakefile
+++ b/dist/examples/cxx/serializer/nmakefile
@@ -4,6 +4,8 @@ root = ..\..\..
dirs =
+!if "$(XSDE_CUSTOM_ALLOCATOR)" == "n"
+
!if "$(XSDE_STL)" == "y"
!if "$(XSDE_IOSTREAM)" == "y"
!if "$(XSDE_EXCEPTIONS)" == "y"
@@ -35,6 +37,8 @@ dirs = $(dirs) minimal
!endif
!endif
+!endif # XSDE_CUSTOM_ALLOCATOR
+
all:
@for %i in ( $(dirs) ) do \
@cmd /c "echo entering %i && cd %i && $(MAKE) /nologo /f nmakefile" || exit 1