|Changing Make(generated from Eclipse) to get a .text file as option [message #843690]
||Fri, 13 April 2012 09:22
|Missing name Missing name
Registered: December 2011
I generated a make file (dir.mk) using Eclipse. This is called from another make file which is in turn called from a .bat.
Anyway, in the dir.mk file I want to give a number of Defines as flags which are generated as a text file (opt.tmp) during each cmpile.
Now I use this:
gcc -O0 -g3 -Wall -fpack-struct -c -$(FLAGS)
This seems to not work. If I give all the defines from opt.tmp as follows:
gcc -O0 -g3 -Wall -fpack-struct -c -DDefine1 -DDEFINE2
then it works.
I have used some other variation for -$(FLAGS), but seem to not work.
My question is, is there a way to give this .tmp file as FLAGS/Defines to the gcc make,or do I have to give the Defines manually ?
Powered by FUDForum
. Page generated in 0.02547 seconds