diff --git a/GNUmakefile b/GNUmakefile index dc90b3ca..9942b8e1 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,4 @@ -# $Id: GNUmakefile,v 1.100 2009-05-14 00:09:02 nicm Exp $ +# $Id: GNUmakefile,v 1.101 2009-05-14 00:31:48 nicm Exp $ .PHONY: clean @@ -13,7 +13,7 @@ LIBS+= -lncurses # This sort of sucks but gets rid of the stupid warning and should work on # most platforms... -ifeq ($(shell ($(CC) -v 2>&1|awk '/gcc version 4/ { print $0 }') || true), ) +ifeq ($(shell ($(CC) -v 2>&1|awk '/gcc version 4/') || true), ) CPPFLAGS:= -I. -I- $(CPPFLAGS) else CPPFLAGS:= -iquote. $(CPPFLAGS) diff --git a/Makefile b/Makefile index b5096756..c048e377 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.134 2009-05-14 00:28:04 nicm Exp $ +# $Id: Makefile,v 1.135 2009-05-14 00:31:48 nicm Exp $ .SUFFIXES: .c .o .PHONY: clean @@ -14,7 +14,7 @@ LIBS+= -lncurses # This sort of sucks but gets rid of the stupid warning and should work on # most platforms... -CCV!= (${CC} -v 2>&1|awk '/gcc version 4/ { print $0 }') || true +CCV!= (${CC} -v 2>&1|awk '/gcc version 4/') || true .if "${CCV}" == "" CPPFLAGS:= -I. -I- -I/usr/local/include ${CPPFLAGS} .else