From fadcafaeafafd2336dcb49aa38a0cec3c38407c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Tue, 24 Sep 2019 08:19:47 +0200 Subject: [PATCH] Begin linking to MPI. --- Makefile | 6 +++--- README | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6286554..8d90ea6 100644 --- a/Makefile +++ b/Makefile @@ -14,15 +14,15 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -CC=gcc +CC=mpicc DEBUG=0 PREFIX=/usr/local INCFLAGS= LDFLAGS=-lgmp DEFS=-DVERSION=\"2.0\" -DAPP_NAME=\"Indivisible\" CFLAGS=$(INCFLAGS) $(DEFS) -std=c99 -Wall -Wextra -Wfatal-errors -Werror -HDRS=src/globals.h -OBJS=src/main.o +HDRS=src/globals.h src/llist.h +OBJS=src/main.o src/llist.o ifeq ($(DEBUG),1) CFLAGS+=-g -O0 -DDEBUG diff --git a/README b/README index f3d22ed..3f38585 100644 --- a/README +++ b/README @@ -10,9 +10,8 @@ library as well as OpenMPI for parallelization. The dependencies for compiling are minimal, and should be available on most UNIX-like systems: - GNU Make - - C99 Compiler (GCC is recommended) - GNU Multi-Precision Arithmetics Library (GMP) - - OpenMPI + - OpenMPI C wrapper compiler (mpicc) ## Compiling To compile you simply need to run the `make` command, which will