No support for VPATH
In 3.0x
VPATH
was used to search for the source files in a given list of directories.
Consequences
gmake check_vpath
anymore
no
VPATH
search during the Make run. Make looks for the dependencies of files in
VPATH
, checks the PWE and the SSWE. This is not necessary since source files are
linked or copied on Windows.
all
VPATH
related flags and macros e.g.,
VPATH,
VINCLUDE,
INHIBIT_LOCAL_INCLUDES
, etc.,
are removed from the SNiFF+ Makefiles.
Reasons why VPATH is not supported anymore
The
VPATH
macro is not used in the new Make Support because of its limitations listed below.
- not all compilers support the
INHIBIT_LOCAL_INCLUDES
flag
inconsistencies because dependencies may be incorrectly resolved
builds take longer
Dummy rule for check_vpath
- Since all customers who use 3.0x or an earlier version have the default make command
gmake check_vpath;gmake
stored either in the Project Attributes or in the Platform definitions, each time Make is
called the following error message will appear:
check_vpath: rule not found
We have added a "dummy check_vpath rule" to avoid that error. Now,
check_vpath not required anymore
is printed out (the message is printed out only for the project root directory).