[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
.ONESHELL target seems not working
From: |
ali hagigat |
Subject: |
.ONESHELL target seems not working |
Date: |
Sun, 26 Dec 2010 08:37:38 +0330 |
makefile21:
.ONESHELL:
all:
y1=bbeeggiinn;echo $$y1
echo $$y1
echo eenndd
/root/makefiles_examples> make -s -f makefile21
bbeeggiinn
eenndd
----------------------------------------------------------------------------------
Why the value of the variable, y1, is not recognized by the second
"echo $$y1" while only one shell is considered for the commands?
- .ONESHELL target seems not working,
ali hagigat <=