aboutsummaryrefslogtreecommitdiff
path: root/dist/examples/build/xsd/common.make
blob: 26ecd075a9e036ed85b073749b265394d8a16c95 (plain)
1
2
3
4
5
6
7
8
9
10
# file      : examples/build/xsd/common.make
# copyright : Copyright (c) 2006-2017 Code Synthesis Tools CC
# license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

XSD := $(shell if test -x $(root)/../bin/xsd; \
               then echo $(root)/../bin/xsd; \
               else echo xsd; fi)

override CPPFLAGS += $(shell if test -d $(root)/../libxsd; \
                             then echo -I$(root)/../libxsd; fi)