[GRASS5] mingW: how to exclude win32_pipes.c & user_config.c from compilation?
neteler at itc.it
Sat Feb 11 11:09:51 EST 2006
On Sat, Feb 11, 2006 at 01:28:47AM +0000, Glynn Clements wrote:
> Markus Neteler wrote:
> > we have to exclude compilation of
> > lib/gis/win32_pipes.c
> > lib/gis/user_config.c
> > when compiling with mingW.
> Huh? The whole of win32_pipes.c is conditionalised upon
> "#ifdef __MINGW32__", so if that file isn't wanted for MinGW, it
> should just be removed.
> > How to modify the Makefile?
> > Is there a way to define an EXCLUDE variable in this
> > Makefile and make include/Make/Lib.make aware of it?
> > I know too little about Makefile programming to implement
> > it correctly. Throwing files away may not be the solution.
> The usual approach is to just conditionalise the entire source file
> upon a macro, so that you effectively get an empty file if the test is
I don't know - this was a request by Radim, I suggested
to him to remove the files. Let's listen to him.
More information about the grass-dev