GCC 2.95.2

c958179@student.dtu.dk c958179@student.dtu.dk
Thu Nov 30 06:01:00 GMT 2000


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.



More information about the Gcc mailing list