[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Platform in makefile
From: |
Kip |
Subject: |
Re: Platform in makefile |
Date: |
Wed, 17 Aug 2005 23:50:59 GMT |
User-agent: |
XanaNews/1.17.5.9 |
J. David Boyd wrote:
> "Kip" <Kip_NOSPAM_@TheVertigo.com> writes:
>
> > Greetings,
> >
> > How might I add information outputted from "uname -m" into a
> > variable in my makefile automatically? Unless someone knows of
> > another way to automatically detect the platform inside the
> > makefile? Thanks.
> >
> > --
> > Kip Warner
> > Vertigo
> > http://TheVertigo.com
>
> Isn't that what the autoconf tool is for?
>
> Dave in Largo, FL
HOST_PLATFORM = ${shell $(CPP) -dumpmachine}
--
Kip Warner
Vertigo
http://TheVertigo.com