help-make
[Top][All Lists]
Advanced

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

Bultin shell variable in Makefile


From: rama krishna
Subject: Bultin shell variable in Makefile
Date: Mon, 6 Jul 2009 05:01:20 -0700 (PDT)

Hi All,

When I am trying to use a predefined shell variable RANDOM in a make file.
I am not able to generate any random value.
Instead it is showoing as blank.
 
The code I am using is :
 
SEED := $(shell /bin/sh -c "$(RANDOM)")
I am not getting any error but, the value is blank.
Can anybody help me in solving the problem.
 
Thanks in advance,
 
Rama


reply via email to

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