Edit managed make file [message #515029] |
Wed, 17 February 2010 14:18 |
|
I want to edit makefile that Eclipse automatically create it.
I want to add one line to it like:
CFLAGS += -DLOG_DIS_VAR_NAME=$(DIS_NAME)_log_id
How can do it?
Can I include a file in automatically generated makefile?
Is there any way for changing CFLAG in "Managed Make C Project"?
|
|
|
|
Re: Edit managed make file [message #515197 is a reply to message #515133] |
Thu, 18 February 2010 06:53 |
|
Quote: | You can change the CFLAGs via Project Properties->C/C++ Build
|
Do you intent I change CFLAGS as follow?
"in GCC C Compiler->Expert Settings->command line pattern->
Here I change this
${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}
to
${COMMAND} ${CFLAGS += -DLOG_DIS_VAR_NAME=$(DIS_NAME)_log_id} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}
Do i understand correctly?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03649 seconds