tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make -C dir ?



On Wed, 26 Aug 2009, Simon J. Gerraty wrote:
> I've been asked about adding support for the command line switch 
> -C "dir" to bmake.  Since both gmake and freebsd's make support this,
> I thought it might make sense to add to our make (and hence bmake).

Are the semantics well defined when "-C chdir" and "-f makefile"
are intermixed?  For example, what does "make -f ./Makefile -C
/elsewhere target" do, and is it the same or different from "make
-C /elsewhere -f ./Makefile target"?

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index