]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixup for gcc headers (if installed)
authorBen Gras <ben@minix3.org>
Thu, 13 Oct 2005 12:46:23 +0000 (12:46 +0000)
committerBen Gras <ben@minix3.org>
Thu, 13 Oct 2005 12:46:23 +0000 (12:46 +0000)
include/Makefile

index c4474ec75e3bd090cda67386f767919a7425a91e..78a5d2447defeb0ef9d4688cb1a685456f30487b 100644 (file)
@@ -1,5 +1,7 @@
 
 INC=/usr/include
+GCCVERSION=3.4.3
+MKHEADERS=/usr/gnu//libexec/gcc/i386-pc-minix/$(GCCVERSION)/install-tools/mkheaders
 
 all::
 
@@ -11,3 +13,4 @@ install::
        cpdir . $(INC)
        @chown -R bin $(INC)
        @rm -f $(INC)/Makefile
+       if [ -f $(MKHEADERS) ] ; then sh $(MKHEADERS) ; fi