Author Topic: Help with filenames in Build options dialog  (Read 2945 times)

armandjordaan

  • Guest
Help with filenames in Build options dialog
« on: March 07, 2013, 02:59:06 pm »
Hello,

I have a project using gcc. I want to output an assembler listing for each file.
In the Build Options dialog under Compiler settings->Other options, I have added: -Wa,-ahls=$(TARGET_OUTPUT_DIR)\output.asmlst

My problem is that this always writes to output.asm for every file. I would rather want the output file to be $(TARGET_OUTPUT_DIR)\main.asmlst if I compile main.c. How can I edit my entry so that it takes the file that is being compiled and changes the extension to asmlst?

Any help would be appreciated.

BTW: thank you for an excellent IDE.