From 82932c0d6b05de400ab5ad36987ad67baa9c1683 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 29 Jun 2011 18:24:16 +0200 Subject: [PATCH] new gcc mkheaders location . Try to be flexible about it this time --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f33da310a..3878f901b 100644 --- a/Makefile +++ b/Makefile @@ -45,9 +45,9 @@ includes: libraries: includes $(MAKE) -C lib build_ack -MKHEADERS443_PKGSRC=/usr/pkg/gcc44/libexec/gcc/i686-pc-minix/4.4.3/install-tools/mkheaders +MKHEADERSS=/usr/pkg/gcc*/libexec/gcc/*/*/install-tools/mkheaders gnu-includes: includes - SHELL=/bin/sh; if [ -f $(MKHEADERS443_PKGSRC) ] ; then sh -e $(MKHEADERS443_PKGSRC) ; fi + SHELL=/bin/sh; for d in $(MKHEADERSS); do if [ -f $$d ] ; then sh -e $$d ; fi; done elf-libraries: includes $(MAKE) -C lib build_elf