This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

compiler options file

To compile my project, I want to use the options file (-@ option) so that I have a default set of options archived.  I find I can't use environment variables in this file (e.g. $(Proj_dir)).  So adding a search path of

-i"$(Proj_dir)\..\..\c6747_drivers"

does NOT work but

-i".\..\..\c6747_drivers"

does work. But using relative directory references is relative to each file compiled so it is applied differently when the source file is in a different folder location.

Is there a way to get environment variables to work in the options file? OR can you suggest a good work around? Using relative path names is not a good work around for projects where
source files are located in different folder levels.

Mike