help-make
[Top][All Lists]
Advanced

[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?



reply via email to

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