diff --git a/Makefile b/Makefile index d6a95f2..c800d8b 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ endif # include paths (flattens the hierarchy for include directives) INC := -I src/ $(addprefix -I src/,$(SUBDIRECTORIES)) # Place the location of GMP header files here -GMPINC := -I $(GMP_PREFIX)/include +GMPINC := -I $(GMP_INC_DIR) INC := $(INC) $(GMPINC) # use the second line to disable profiling instrumentation @@ -75,9 +75,9 @@ CCDFLAGS := -Wall $(INC) $(CONFIG) -ggdb CXXDFLAGS := $(CCDFLAGS) # Place the location of GMP libraries here -#GMPLD := -L$(GMP_PREFIX)/lib -lgmpxx -lgmp +#GMPLD := -L$(GMP_LIB_DIR) -lgmpxx -lgmp # static versionÉ -GMPLD := $(GMP_PREFIX)/lib/libgmpxx.a $(GMP_PREFIX)/lib/libgmp.a +GMPLD := $(GMP_LIB_DIR)/libgmpxx.a $(GMP_LIB_DIR)/libgmp.a GL_LD := -framework OpenGL diff --git a/makeConstants b/makeConstants index 25d4527..78def01 100644 --- a/makeConstants +++ b/makeConstants @@ -1,3 +1,3 @@ -GMP_PREFIX = /usr/local/Cellar/gmp/5.0.2 - +GMP_INC_DIR = /usr/local/Cellar/gmp/5.0.2/include +GMP_LIB_DIR = /usr/local/Cellar/gmp/5.0.2/lib \ No newline at end of file