Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make file for both 32 and 64 bit builds

Tags:

makefile

I need to create a make file which will allow the user to choose to create either a 64 or 32 bit build. I'm new to make and am not sure what the best way to do this would be. Does anyone have any suggestions?

Thanks

like image 625
Fred Avatar asked Nov 09 '10 16:11

Fred


1 Answers

Have a look at this article. The long and short of it is to have separate output directories for each architecture, and show make how to find the source from each of them.

like image 100
Phil Miller Avatar answered Nov 13 '22 20:11

Phil Miller