Re: [PATCH 3/4] Makefile: keep MSVC and Cygwin configuration separate
- From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
- Date
- Nov 4, 2009, 19:29 UTC
- Message-ID
- <4AF1D605.1020900@ramsay1.demon.co.uk>
- In-Reply-To
- <4AEFDB6B.8010209@viscovery.net>
Johannes Sixt wrote:
> > I like the direction of this change, but I think that you must use ':='
Yeah, I've always been a bit sloppy with recursive assignment versus simple assignment when the value does not contain a variable reference ;-) So yes, you are right...
Show 8 quoted lines
> assignment, and I would put this right after the uname_* assignments at > the beginning of the Makefile: > > uname_V := $(shell sh -c 'uname -v 2>/dev/null || echo not') > +ifdef MSVC > + uname_S := Windows > + uname_O := Windows # avoid cygwin configuration > +endif
OK with me. (but you are avoiding the MinGW configuration as well...)
ATB, Ramsay Jones