Use of Makefile

Billy SG McCarthy reshippie at yahoo.com
Mon May 10 12:35:48 EDT 2004


> prompt>make -f someothername 
> 
> Can someone elaborate on an example where invoking
> Make
> by some other name is desirable?
> 
> karina

2 instances I can think of.  One is when your version
of make will only find 'Makefile' and not 'makefile'
and you don't feel like renameing it.  Another,
probably more sensible situation is would be for
having a single tarball with makefiles for multiple
distros or OSes.  Makefile.debian, Makefile.RedHat,
Makefile.Netbsd...

There is also the fact that if the option wasn't
there, there would be people needing it left and
right.  In a world where everyone follows the accepted
convetion it's just an extra feature, but this is the
real world, so it comes in handy.

=====
"Whoa what I want to know, how does the song go?"
--The Grateful Dead--

Kindly yours,
Billy S G McCarthy

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Discuss mailing list