Re: Compiling lout 3.38 on Windows with mingw+msys

"Remo Dentato" <[email protected]>
Newsgroups gmane.comp.type-setting.lout
Message-ID <[email protected]>
On Thu, Oct 16, 2008 at 10:48 PM, Jeff Kingston <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.