summaryrefslogtreecommitdiff
path: root/util/futility/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'util/futility/Makefile.inc')
-rw-r--r--util/futility/Makefile.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/util/futility/Makefile.inc b/util/futility/Makefile.inc
new file mode 100644
index 0000000000..26b218d742
--- /dev/null
+++ b/util/futility/Makefile.inc
@@ -0,0 +1,13 @@
+additional-dirs += $(objutil)/futility
+
+$(objutil)/futility/build/futility/futility:
+ @printf " MAKE $(subst $(objutil)/,,$(@))\n"
+ $(MAKE) -C $(VB_SOURCE) \
+ BUILD=$(abspath $@/../..) \
+ CC="$(HOSTCC)" \
+ V=$(V) \
+ $(abspath $@)
+
+$(objutil)/futility/futility: $(objutil)/futility/build/futility/futility
+ cp $< $@.tmp
+ mv $@.tmp $@