On Wednesday 27 July 2005 14:05, Dave Hylands wrote:
> > Is there a simple way to do so on Windows only? In pseudo code:
>
> The environment variable WINDIR is always set under Windows
> (although sometimes its lowercase). so you could do something like:
>
> ifeq ($(WINDIR)$(windir),)
>   EXEEXT =
> else
>   EXEEXT = .exe
> endif
>
> > Ideally, "simple" means "without using a gnu make extension".
>
> ifeq is a GNU extension.

That's great, Dave.

However, before I make the change, is there a way to do this with 
traditional makes too? I'm planning on posting the changes back to 
CTAN and they'll probably want something generic if possible.

Angus


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to