aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/hybrid/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dist/examples/cxx/hybrid/makefile')
-rw-r--r--dist/examples/cxx/hybrid/makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/dist/examples/cxx/hybrid/makefile b/dist/examples/cxx/hybrid/makefile
index 3a9ddaa..859451b 100644
--- a/dist/examples/cxx/hybrid/makefile
+++ b/dist/examples/cxx/hybrid/makefile
@@ -2,7 +2,11 @@ root := ../../..
include $(root)/build/config.make
-dirs := binary compositors custom
+dirs :=
+
+ifeq ($(XSDE_CUSTOM_ALLOCATOR),n)
+
+dirs += binary compositors custom
ifeq ($(XSDE_IOSTREAM),y)
ifeq ($(XSDE_EXCEPTIONS),y)
@@ -26,6 +30,16 @@ dirs += minimal
endif
endif
+else # XSDE_CUSTOM_ALLOCATOR
+
+ifeq ($(XSDE_STL),n)
+ifeq ($(XSDE_EXCEPTIONS),n)
+dirs += allocator
+endif
+endif
+
+endif
+
.PHONY: all $(dirs)