From a273f4cedf011af535ff3757c3a93e7134c198da Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 2 Nov 2016 20:46:13 +0100 Subject: rules.mak: add more rules to avoid chaining Really rule chaining is not a particularly expensive task, since GNU Make caches the directory listing. However it is easy to avoid it for most files and for phony targets (one was missing). After this patch, only "Makefile", "scripts/hxtool" and "scripts/create_config" attempt to use chained rules. Signed-off-by: Paolo Bonzini --- rules.mak | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rules.mak') diff --git a/rules.mak b/rules.mak index c69863fd39..ce9e7e6ffe 100644 --- a/rules.mak +++ b/rules.mak @@ -7,6 +7,10 @@ MAKEFLAGS += -rR # Files with this suffixes are final, don't try to generate them # using implicit rules +%/trace-events: +%.hx: +%.py: +%.objs: %.d: %.h: %.c: -- cgit v1.2.1