]> Zhao Yanbai Git Server - minix.git/commitdiff
Make includes for gcc 4.1.1 too if found.
authorBen Gras <ben@minix3.org>
Tue, 1 Aug 2006 09:17:43 +0000 (09:17 +0000)
committerBen Gras <ben@minix3.org>
Tue, 1 Aug 2006 09:17:43 +0000 (09:17 +0000)
include/Makefile

index 6a223ffd321174049d26c90c6713ae3f988cd78f..5f71fc981755869e660483a45617c2dfded64e68 100644 (file)
@@ -1,7 +1,7 @@
 
 INC=/usr/include
-GCCVERSION=3.4.3
-MKHEADERS=/usr/gnu//libexec/gcc/i386-pc-minix/$(GCCVERSION)/install-tools/mkheaders
+MKHEADERS343=/usr/gnu//libexec/gcc/i386-pc-minix/3.4.3/install-tools/mkheaders
+MKHEADERS411=/usr/gnu//libexec/gcc/i386-pc-minix/4.1.1/install-tools/mkheaders
 
 all::
 
@@ -15,4 +15,5 @@ install::
        @rm -f $(INC)/Makefile
 
 gcc: install
-       SHELL=/bin/sh; if [ -f $(MKHEADERS) ] ; then sh -e $(MKHEADERS) ; fi
+       SHELL=/bin/sh; if [ -f $(MKHEADERS343) ] ; then sh -e $(MKHEADERS343) ; fi
+       SHELL=/bin/sh; if [ -f $(MKHEADERS411) ] ; then sh -e $(MKHEADERS411) ; fi