Part Number: TMS320C6713
Tool/software: TI C/C++ Compiler
Hi all,
I need to specify the optimization only for certain files while I wish to leave the rest unoptimized. Does anyone have an idea about the options I should specify in the makefile so that I can apply -o2 only on two files such as File1.c and File2.c. I know that I can do this in CCS IDE by playing with the build options of these files only; yet I need to do this through the makefile rather than through the IDE.
In detail, I generate an application for C6713 using MATLAB/Simulink r2015b and using "Texas Instruments Code Composer Studio v5 (makefile generation only)" as the IDE/Toolchain. I can manually enter so-called "Compiler options string" to be copied to the makefile so that the output is generated accordingly. I was able to specify -o2 by inputting "opt_level=2" at that part for the whole project so that optimization is carried out for all files in the project.
Thanks for your help in advance.