aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-02-25 09:23:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-02-25 09:23:29 +0200
commitd6b8a7cfd02827493a1935d592ebc7e63a1fc321 (patch)
treeb5b37af77116e7df32e43ed499847bd18cb04713
parent3939c9a6ceebbb237d8bdc041fd11f90ffc3b7ea (diff)
Don't depend on installed cli executable
-rw-r--r--xsde/makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/xsde/makefile b/xsde/makefile
index d93fcd3..9216333 100644
--- a/xsde/makefile
+++ b/xsde/makefile
@@ -129,7 +129,11 @@ $(cxx_obj) $(cxx_od): \
genf := $(cli_tun:.cli=.hxx) $(cli_tun:.cli=.ixx) $(cli_tun:.cli=.cxx)
gen := $(addprefix $(out_base)/,$(genf))
+# Don't depend on installed executable since it may not exist.
+#
+ifneq ($(cli),cli)
$(gen): $(cli)
+endif
$(gen): cli := $(cli)
# Watch out: if I add --generate-specifier, then I will need to fix
# code that relies on modifiers to also modify the "specified" flag.