[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting compiler options?



I have a problem setting the compiler options in my project files.
I have an export defined as $CPATHS
I have been trying to set the CMPFLAGS like this...
CMPFLAGS	-g -I-$CPATHS
I read the help file and it talked about converting a Makefile into a project
file you should do this.
CMP=$(CC) 
 It does not give the flags example but I think it would look like this.
MY_FLAGS="-g -I-"$CPATHS
...
CMPFLAGS=$(MY_FLAGS)

Is that right? I have tried many combinations as to how to set that value but 
every thing I do is wrong.

-- 
Roy Souther
silicontao_roy@technologist.com
KICQ# 1232391
Don't be a victim of the W2k bug!
www.redhat.com