Using make, how do I build programs tailored to a particular target machine (perhaps the same machine I'm building on)?
This is usually done via environment variables which define the particular target. Make can use these variables to trigger different parts of the build, and can also pass them on e. g. to the compiler. I'd guess that the Linux Kernel will have a bunch of stuff for pretty much any combination of host and target you can imagine. It's a good exercise to roll your own in any case.
in the directory containing the make file try ./configure ...I think is the command then make .....make install ....off the top of my head......usually there is a ReadMe.txt file if the program contains configure parameters. or ./configure --help might work...heck come to think of it configure might not be the command make --help should give you the command that you need.
man make ??
DA!
I think he knows how to use make in general, and what he wants is specific stuff on how to choose different target platforms.
Join our real-time social learning platform and learn together with your friends!