aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/cxx/parser/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-05-11 12:20:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-05-11 12:20:11 +0200
commit2e501c68a8641a2b3c430b55f13491a9c1c5d0f5 (patch)
tree49c2748443fe3c1f01108756b647440e0647a11b /dist/examples/cxx/parser/makefile
parent161beba6cdb0d91b15ad19fa8b3e51d986203915 (diff)
Add support for custom allocators
New example: examples/cxx/hybrid/allocator.
Diffstat (limited to 'dist/examples/cxx/parser/makefile')
-rw-r--r--dist/examples/cxx/parser/makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/dist/examples/cxx/parser/makefile b/dist/examples/cxx/parser/makefile
index c286089..e0d9974 100644
--- a/dist/examples/cxx/parser/makefile
+++ b/dist/examples/cxx/parser/makefile
@@ -4,6 +4,8 @@ include $(root)/build/config.make
dirs :=
+ifeq ($(XSDE_CUSTOM_ALLOCATOR),n)
+
ifneq ($(XSDE_REUSE_STYLE),none)
dirs += generated
endif
@@ -39,6 +41,15 @@ endif
endif
endif
+else # XSDE_CUSTOM_ALLOCATOR
+
+ifeq ($(XSDE_DEFAULT_ALLOCATOR),y)
+ifneq ($(XSDE_REUSE_STYLE),none)
+dirs += generated
+endif
+endif
+
+endif
.PHONY: all $(dirs)