• Paolo Bonzini's avatar
    Use vpath directive · 076d2471
    Paolo Bonzini authored
    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: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
    076d2471
Makefile.hw 487 Bytes