Subject: Re: C++ program handling in bsd.prog.mk
To: matthew green <firstname.lastname@example.org>
From: gabriel rosenkoetter <email@example.com>
Date: 01/02/2002 11:17:03
Content-Type: text/plain; charset=us-ascii
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?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----