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

Re: Makefile parametrisation



On Tue, Apr 25, 2006 at 11:25:23AM -0400, hendrik@topoi.pooq.com wrote:
> I'd like to define a symbol ARCH in my Makefile to be the output of
> 	uname -m
> 
> The obvious thing, just starting with
> 
> ARCH = `uname -m`
> 
> didn't seem to work.  It defined ARCH to be `uname -m' instead of
> i686 or x86_64.  Not unreasonable, but What *is* the way to do this?

I'm no bash guy but:

ARCH=`eval unmae -m`

works here.

A

> 
> -- hendrik
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

Attachment: signature.asc
Description: Digital signature


Reply to: