make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem


From: Ashish Bajpai (DS/ESQ2)
Subject: problem
Date: Thu, 19 Dec 2002 11:37:46 +0100

Hello All,
Can someone tell me the meaning of automatic variable $$? which is used
sometimes in makefile ?
I am attaching the piece of code that contains this variable -
        $(gfd) -o $< -b $@ -l $(LOG) -v ash1 -g D ; \
        if [ $$? -eq 3 ] ; then \
             $(ECHO) " " ; \
             $(ECHO) "# Did you notice that the database isn't running ?" ;
\
             $(ECHO) "# Try again later ;-) " ; \
             exit 1 ; \
        elif [ $$? -eq 2 ] ; then \
             $(ECHO) " " ; \
             $(ECHO) "# There are errors in the log file!! Take a look!" ; \
        elif [ $$? -eq 1 ] ; then \
             $(ECHO) " " ; \
             $(ECHO) "# There are warnings in the log file!! Take a look!" ;
\
        fi

Thanks & Regards,
Ashish 




reply via email to

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