Subject: Re: C++ program handling in
To: matthew green <>
From: gabriel rosenkoetter <>
List: tech-toolchain
Date: 01/02/2002 11:17:03
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 01, 2002 at 12:04:38PM +1100, matthew green wrote:
>      PROG=3D		addftinfo
>    + PROG_CXX=3D
> hmm.. seems to me this would be better if you could just
> s/PROG/PROG_CXX/ rather than set both?

Won't that cause problems in software that inherits Makefile
settings from a parent directory which is not C++? What about if a
parent is C++ program and the child directory is a C (or, hell,
Fortran) library for it?

Sure, you could probably do PROG_CXX+=3DPROG ... and so forth, but
that means (theoretically) having to add a lot of variable settings
that were previously presumed.

Or is this more easily solved?

gabriel rosenkoetter

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see