Hello,  I RTFMd gnu make manual carefully, and all I found on how make executes 
commands, is that it just passes them to the shell, it does not know anything 
about how the shell executes them.  

OK, so I am on the Windows XP shell, and I have this makefile:

foobar:
                echo %ERRORLEVEL%


Now here is what I see at my shell prompt if I execute this command by hand:

D:\tmp>echo %ERRORLEVEL%
0

But when I try to execute this command through make, I see something else:

D:\tmp>make foobar
echo %ERRORLEVEL%
%ERRORLEVEL%

D:\tmp>


Why??  How to do it so that make really passes the command as is??  

Mark


_______________________________________________
Help-make mailing list
Help-make@gnu.org
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to