]> git.proxmox.com Git - qemu.git/commit - rules.mak
Use vpath directive
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 21 Dec 2009 09:06:55 +0000 (10:06 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 8 Jan 2010 15:58:40 +0000 (09:58 -0600)
commit076d247142c1ff1e4d618557fc0acc62f6eb2a7c
tree91ba69a991591e278ba72675b17fd95bbfd091bf
parente726fe7d60d46636c74c1c4a8fac7e4a05efb163
Use vpath directive

The vpath directive has two advantages over the VPATH variable:
1) it allows to skip searching of .o files; 2) the default semantics
are to append to the vpath, so there is no confusion between "VPATH=xyz"
and "VPATH+=xyz".

Since "vpath %.c %.h PATH" is not valid, I'm introducing a wrapper
macro to append one or more directories to the vpath.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile
Makefile.hw
Makefile.target
Makefile.user
pc-bios/optionrom/Makefile
rules.mak
tests/Makefile