I work on a project which is often built and run on several operating systems and in multiple configurations. I use two compilers: icc and gcc, and multiple sets of arguments for those compilers. That can give me many variants of build of one project.
What I would like to do is:
- compile project using icc or gcc compiler with one set of arguments
- test the performance of the application befor and after new build>
- compare obtained results
- compile project for another set of arguments and repeat previous steps
Has anyone an idea how to do it nicely using makefile?