Environment variable to pass in options?

Louis Marascio lmarasci@stevens-tech.edu
Sun Dec 7 20:17:00 GMT 1997


>C_INCLUDE_PATH, CPLUS_INCLUDE_PATH and CPATH are the right things
>to work with.  We need to find out why they aren't working for you.

My basic setup is this. I have a generic env.mk file that is included by other
makefiles throughout my src tree.  The env.mk has within it a colon seperated
list of directories somewhat like this:
INCLUDEMANIFEST = \
                $(TOPDIR)/src/base:\
                $(TOPDIR)/src/database/gdbm:\
                $(TOPDIR)/src/database/interface:\
                $(TOPDIR)/src/game/common/behavior:\
                ....

It goes on for quite a while.  After this I do:
CPLUS_INCLUDE_PATH     = $(INCLUDEMANIFEST)
export CPLUS_INCLUDE_PATH

Am I doing something wrong here?  TOPDIR is defined and there are no spelling
errors within the manifest.  Any ideas as to what might be causing it to
overlook the directories?

Thanks for all the help ...
 
- - - - -
Louis R. Marascio                  A.K.A Louis Armistead and Jim McCraken
Email: lmarasci@stevens-tech.edu   "We have plenty of psychological abuse 
ICQ: 4270107                        in stock" -- Ripped from jsm



More information about the Gcc mailing list