On Sun, 2010-12-26 at 08:37 +0330, ali hagigat wrote: > 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?
Probably because you're using GNU Make 3.81, and .ONESHELL wasn't added until 3.82 -- ~ LukeShu http://lukeshu.ath.cx/ _______________________________________________ Help-make mailing list Help-make@gnu.org http://lists.gnu.org/mailman/listinfo/help-make