aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-11-28 09:00:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-11-28 09:00:13 +0200
commitb7f8ed4b2d4582dda0874166712763d8ff89c384 (patch)
tree9cec459abae902b681db8adffdc56d4a1b79c23f /makefile
parent0b4816f6a89562477ecb28e16c74ed60d5db5ca4 (diff)
Add support for using external libcutl
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/makefile b/makefile
index f6493d3..2564fdb 100644
--- a/makefile
+++ b/makefile
@@ -28,15 +28,18 @@ dist-win: $(out_base)/xsd/.dist-win
# Clean.
#
-clean: $(out_base)/libcutl/.clean \
- $(out_base)/libxsd-frontend/.clean \
+clean: $(out_base)/libxsd-frontend/.clean \
$(out_base)/xsd/.clean
+ifneq ($(EXTERNAL_LIBCUTL),y)
src_root := $(src_base)/libcutl
scf_root := $(src_root)/build
out_root := $(src_root)
$(call import,$(src_base)/libcutl/makefile)
+clean: $(out_base)/libcutl/.clean
+endif
+
src_root := $(src_base)/libxsd-frontend
scf_root := $(src_root)/build
out_root := $(src_root)