Environment setting for make

Gary W. Swearingen garys at opusnet.com
Sat Sep 17 07:16:31 PDT 2005


Joel Hatton <freebsd-questions at auscert.org.au> writes:

> 	#               E.g. use `env MAKEOBJDIRPREFIX=/somewhere/obj make'
>
> However, and at this risk of exposing my inexperience and just plain old
> sounding foolish, how does this method of setting MAKEOBJDIRPREFIX differ
> from:
>
> 	setenv MAKEOBJDIRPREFIX /somewhere/obj

It's effect is only seen by "make", instead of all subsequent
commands.  It also works in a Bourne shell where the Bourne equivalent
of the second method is:  MAKEOBJDIRPREFIXj=/somewhere/obj make

> Also, in the example above, is the backquote '`' intended, or is that for
> compatibility for something like tex?

It's a (misguided, IMO) attempt at having left and right quotes.
In some fonts, it's almost invisible.


More information about the freebsd-questions mailing list