summaryrefslogtreecommitdiff
path: root/dist/examples/build/xsd/common.make
blob: 21d39e737b59ea12db2bb1d4a60fbaaa931569e3 (plain)
1
2
3
4
5
6
7
8
9
10
# file      : examples/build/xsd/common.make
# copyright : Copyright (c) 2006-2014 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)