• P
    Use vpath directive · 076d2471
    Paolo Bonzini 提交于
    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: NPaolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
    076d2471
Makefile 9.8 KB