This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GCC 2.95.2



Why can't I use GCC 2.95.2 for a makefile with folloving condition:
I mean it exit.

target-dir:
	@if ( $(MAKE) -version 2>/dev/null | grep GNU > /dev/null ) ; then
\
		echo Gnumake. Excellent ; \
	else \
		echo This does not appear to be gnumake. ; \
		exit 1 ; \



Why is gcc-2.95.2 not fulfilling the condition?


Rb.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]