Forum Discussion
Altera_Forum
Honored Contributor
14 years agoAssuming you don't want to be writing your own makefiles I'm guessing this would work:
1) Compile the code you want optimized as a library with -O2/3 and other flags 2) Associate the compiled library to your project 3) Compile the entire project using -O0 There might be other ways to do this..... this seemed like the simplest way to me.