From 1e39fffe8e7c307bdaacf575e7b9eab81e6f2ce9 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 4 Sep 2015 06:54:38 -0700 Subject: No need to point the compiler into the mpi directory. * Makefile (CFLAGS): Remove -iquote $(top_srcdir)mpi * lib.h: include "mpi/mpi.h" instead of "mpi.h". --- Makefile | 1 - lib.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 66df8209..7606befa 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,6 @@ VERBOSE := CFLAGS := -iquote $(conf_dir) $(if $(top_srcdir),-iquote $(top_srcdir)) \ $(LANG_FLAGS) $(DIAG_FLAGS) \ $(DBG_FLAGS) $(PLATFORM_CFLAGS) $(EXTRA_FLAGS) -CFLAGS += -iquote $(top_srcdir)mpi CFLAGS := $(filter-out $(REMOVE_FLAGS),$(CFLAGS)) LDFLAGS := -lm $(PLATFORM_LDFLAGS) diff --git a/lib.h b/lib.h index 86c3bf1d..38505cac 100644 --- a/lib.h +++ b/lib.h @@ -24,7 +24,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "mpi.h" +#include "mpi/mpi.h" typedef int_ptr_t cnum; -- cgit v1.2.3