summaryrefslogtreecommitdiff
path: root/xsd/dist/examples/cxx/tree/custom/wildcard/makefile
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:21:29 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:21:29 +0200
commitbada6666c70977a058755ccf232e7d67b24adeed (patch)
tree1e92d50cebce96abaf9bce19e36026c47f77b9ba /xsd/dist/examples/cxx/tree/custom/wildcard/makefile
parenteaf34adcbd8095bc6d1f3371b1227f654c7b19fc (diff)
New upstream release
Diffstat (limited to 'xsd/dist/examples/cxx/tree/custom/wildcard/makefile')
-rw-r--r--xsd/dist/examples/cxx/tree/custom/wildcard/makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/xsd/dist/examples/cxx/tree/custom/wildcard/makefile b/xsd/dist/examples/cxx/tree/custom/wildcard/makefile
index 20ea1d2..f7561a2 100644
--- a/xsd/dist/examples/cxx/tree/custom/wildcard/makefile
+++ b/xsd/dist/examples/cxx/tree/custom/wildcard/makefile
@@ -5,8 +5,14 @@ include $(root)/build/xsd/tree-rules.make
override XSDFLAGS += --generate-inline --generate-ostream \
---generate-serialization --custom-type data=/data_base \
---hxx-epilogue '\#include "wildcard-custom.hxx"'
+--generate-serialization --hxx-epilogue '\#include "wildcard-custom.hxx"'
+
+ifneq ($(shell uname -o),Msys)
+override XSDFLAGS += --custom-type data=/data_base
+else
+# Prevent MSYS from converting / to Windows path.
+override XSDFLAGS += --custom-type data=//data_base
+endif
# Build.