I need to build a library for two different architectures - x86 and
ARM. The library's source has a configure script. I can create a
subdirectory called 'x86' and execute '../configure' and then 'make'
and the object files are all in the x86 directory but the libraries
all still go into the base lib directory. How can I get the resulting
libraries to be built into different folders for different
architectures? A directory structure similar to:
myLib
|-- include
|-- src
|-- lib
| |- x86
| -- arm
|- x86
-- arm