[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: different source dirs and one build dir
From: |
Paul Smith |
Subject: |
Re: different source dirs and one build dir |
Date: |
Mon, 11 Jul 2016 15:38:06 -0400 |
On Mon, 2016-07-11 at 21:24 +0200, zamek42 wrote:
> There are two files with the same name: _reset_hardware.c andÂ
> _initialize_hardwer.c. I need these files from only one directory.
> That is the reason why I cannot use vpath.
Well, vpath searches directories in order so if you only want one
instance of those files and they are both in the same directory, you
can just ensure that the directory you want comes first in the vpath
list, before the one you don't want.