tech-toolchain archive

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

Re: bmake: variable assignments on command line non-overridable?



> Command line variables are done later, so you can do things like:
> 
> INSTDIR=/tmp	# safe default in case user forgot to pass one
> 
> in the makefile and then run
> 
>   "make install INSTDIR=/opt"
But I could do that with INSTDIR?=/tmp in the Makefile.


Home | Main Index | Thread Index | Old Index