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 11:33 PM, Hugh Sasse <[email protected]> wrote: > > On Fri, 17 Oct 2008, Jeff Kingston wrote: > >> 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. > > Normally this sort of thing is dealt with by configure in the GNU world, > so autoconf docs may be more instructive. You are right, I didn't think of it (probably because I don't like it very much :) ) To my understanding autoconf compiles a dummy program to get the extension. Something like: SUFEXE = `echo "main(){}" > xx.c ; gcc -o yy xx.c ; ls yy* | sed 's/yy//'; rm xx.c yy*` Could be an option...