GCC 2.95.2
Erik Mouw
J.A.K.Mouw@ITS.TUDelft.NL
Thu Nov 30 13:27:00 GMT 2000
On Thu, Nov 30, 2000 at 02:54:11PM +0100, c958179@student.dtu.dk wrote:
> 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?
Because this has nothing to do with gcc. The makefile is complaining
about the fact that the "make" utility is not GNU make. Get GNU make
from ftp://ftp.gnu.org/gnu/make/ .
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
More information about the Gcc
mailing list