I'm having trouble getting the exit status of a
command executed from within a GNUmakefile. I'm
executing the command using backticks, but I'm not
able to get the exit status of that command. I'm
trying to access the exit status using "$?", but that
doesn't seem to work for me.
example snippet -
target: clean
for file in $(FILES) ; do \
echo " => Processing $$file" ; \
`<command>` ; \
echo "RETURN CODE == $?" ; \
done ; \
Any ideas? What am I doing incorrectly here?
Thanks,
- Ben
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make