aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2016-04-06 16:22:42 -0400
committerMike Frysinger <vapier@google.com>2016-04-06 20:36:10 +0000
commitfcffce31f3c6f7594b0790f92d4e042aa489d42f (patch)
tree1c0ec3148abd837f31a955db0e1532c8a407e8de
parentfcf6b3e6f60389a7416ce6f44f3b233b251eb297 (diff)
downloadlibweave-fcffce31f3c6f7594b0790f92d4e042aa489d42f.tar.gz
disable builtin rules
We define all rules/targets ourselves, so the builtin ones just get in our way and cause weirdness & slow things down. Disable them. Change-Id: I85075297322e3e0515141cc908a67065cbfe8e2c Reviewed-on: https://weave-review.googlesource.com/3151 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 965fd85..0eff8e1 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# Disable all builtin rules first as we don't use any of them (we define all
+# rules/targets ourselves, nor do we want to rely on them.
+MAKEFLAGS += --no-builtin-rules
+.SUFFIXES:
+
# Run make with BUILD_MODE=Release for release.
BUILD_MODE ?= Debug