only make the gcc target if we're using gcc.

This commit is contained in:
grant 2004-04-17 19:24:37 +00:00
parent a1c89eeaf3
commit 192cd01bf3

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.36 2004/03/23 04:41:00 jlam Exp $ # $NetBSD: Makefile,v 1.37 2004/04/17 19:24:37 grant Exp $
# FreeBSD Id: Makefile,v 1.10 1997/04/27 16:06:15 ache Exp # FreeBSD Id: Makefile,v 1.10 1997/04/27 16:06:15 ache Exp
# #
@ -25,10 +25,13 @@ MAKE_FLAGS= LOCAL_ZIP="${CFLAGS}" LFLAGS1="${_STRIPFLAG_CC}"
CFLAGS= -O0 CFLAGS= -O0
.endif .endif
.if ${OPSYS} == "SunOS" .include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc*)
ALL_TARGET= generic_gcc ALL_TARGET= generic_gcc
.else .else
ALL_TARGET= generic ALL_TARGET= generic
CFLAGS= -O
.endif .endif
.if ${OPSYS} == "Linux" .if ${OPSYS} == "Linux"