Genrate lib (.a) and binary file (exec) in the same Makefile

Hi there,

I have, in my application, one Makefile that generates a .a file. I would like to generate .a and binary executable in the same Makefile. This is possible?

Thank you!

Yes...the makefile process is very powerful and flexible and can be customized in as many ways the programmer wants...I'd suggest reading up on makefile generation to get an idea of what it can do...

Nice shamrock!

Thank you for reply!

Do you know good documents (ebooks, tutorials...) that can help me?