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

Re: new port: QCad



On Thu, 2 Aug 2001, Jacob Meuser wrote:

> So, what's the prefered method?
> CC ?= gcc     OR
> CC =          OR
> CC = ${CC}

For the port Makefile, empty string.

For a Makefile in the port's sources, CC ?= gcc for non-GNU Makefiles;
this is for possibly feeding back patches to the developers. (If you're
not planning to do so, you can just leave it empty; CC should also
be provided by system Makefiles.

GNU make does not support ?= - see:

	http://www.gnu.org/manual/make-3.79.1/make.html

, but it is usually used with autoconf anyways, which typically picks
up your CC settings with a configure script.

> <jakemsr@clipper.net>

-- 
<---------------------------------------------------------------------->
          Heikki Korpela -- heko@iki.fi -- http://iki.fi/heko/