lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling lout 3.38 on Windows with mingw+msys


From: Remo Dentato
Subject: Re: Compiling lout 3.38 on Windows with mingw+msys
Date: Fri, 17 Oct 2008 00:23:53 +0200

On Thu, Oct 16, 2008 at 10:48 PM, Jeff Kingston <address@hidden> wrote:

> There ought to be a way to set $(SUFEXE) automatically depending
> on the value of OSUNIX etc.  Is there some standard out there
> which is used for saying which OS you are on?  I can't find a
> variable for it anywhere in the GNU make documentation.

There is the $(OSTYPE) variable that contains the name of the system
(msys in my case) but it not guaranteed to be set correctly on every
Unix flavour.

Alternatively one could play with uname to set it.

The simplest, and the less intrusive for the current makefile, method
I could think of, is to leave the OSDOS variable and set SUFEXE with:

SUFEXE = `echo $(OSDOS) | sed -n 's/1/.exe/p'`

> Should I delete OSMAC now?  It never did anything anyway, and
> if I understand things correctly, Macs are really Unixes now.

That is my understanding as well. If the code has no use for OSMAC I
think it can be removed.

Remo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]