]> git.ipfire.org Git - thirdparty/qemu.git/commit - rules.mak
Don't use implicit rules for Makefile
authorJuan Quintela <quintela@redhat.com>
Tue, 6 Oct 2009 19:11:14 +0000 (21:11 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 6 Oct 2009 19:46:10 +0000 (14:46 -0500)
commit5ab288676522b2be3f2b2b1b32ee11b06e1e2de2
tree411d2ed69bf4f533b352d1e586cf1afa160f77ab
parent4888ec2676ef560260e30a70ec15600fc6a3085e
Don't use implicit rules for Makefile

This remove implicit rules + implicit variables.
Explicit rules like the generation of %.h and %.c from %.hx still works
as expected.

As an added bonus, now the output of make -d is readable.

As another added bonus, time spend on Makefiles is way smaller.
We run make -j3 in a fully compiled tree, and results are:

Before:

$ time make -j3
real 0m1.225s
user 0m1.660s
sys 0m0.253s

After:
$ time make -j3
real 0m0.422s
user 0m0.393s
sys 0m0.248s

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
rules.mak