File tree 6 files changed +15
-15
lines changed
6 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ CC=clang
26
26
CFLAGS += -I include -I/usr/local/include -I/opt/homebrew/include
27
27
FFLAGS = $(CFLAGS)
28
28
CXXFLAGS = $(CFLAGS)
29
- LIBS += -L/usr/local/lib
29
+ LIBS += -L/usr/local/lib -L/opt/homebrew/lib
30
30
31
31
# OpenMP with clang needs following...
32
32
OMPFLAGS = -Xpreprocessor -fopenmp
@@ -39,7 +39,7 @@ FFTWOMPSUFFIX=threads
39
39
# make.inc.macosx_clang_matlab
40
40
41
41
# Some of these will depend on your FFTW library location...
42
- MFLAGS += -I/usr/local/include -L/usr/local/lib -lm
42
+ MFLAGS += -I/usr/local/include -I/opt/homebrew/include - L/usr/local/lib -L/opt/homebrew /lib -lm
43
43
# may need to edit for your MATLAB version location...
44
44
MEX = $(shell ls -d /Applications/MATLAB_R20**.app)/bin/mex
45
45
# Also see docs/install.rst for possible edits to MATLAB's MEX XML file.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ CC=clang
27
27
CFLAGS += -I include -I/usr/local/include -I/opt/homebrew/include
28
28
FFLAGS = $(CFLAGS)
29
29
CXXFLAGS = $(CFLAGS)
30
- LIBS += -L/usr/local/lib
30
+ LIBS += -L/usr/local/lib -L/opt/homebrew/lib
31
31
32
32
# Use MATLAB's shipped OpenMP (not gomp otherwise segfaults), with clang...
33
33
MOMPFLAGS = -D_OPENMP
@@ -43,7 +43,7 @@ FFTWOMPSUFFIX=threads
43
43
# MATLAB interface:
44
44
# some of these will depend on your FFTW library location, but this is where
45
45
# brew should put things...
46
- MFLAGS += -I/usr/local/include -L/usr/local/lib -lm
46
+ MFLAGS += -I/usr/local/include -I/opt/homebrew/include - L/usr/local/lib -L/opt/homebrew /lib -lm
47
47
# should work, or edit for your MATLAB version location...
48
48
MEX = $(shell ls -d /Applications/MATLAB_R2022b_Beta.app)/bin/mex
49
49
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ CXX=clang++
23
23
CC=clang
24
24
25
25
# taken from makefile...
26
- CFLAGS += -I include -I/usr/local/include -I/usr/local/opt/libomp/include
26
+ CFLAGS += -I include -I/usr/local/include -I/usr/local/opt/libomp/include -I/opt/homebrew/include
27
27
FFLAGS = $(CFLAGS)
28
28
CXXFLAGS = $(CFLAGS)
29
- LIBS += -L/usr/local/lib
29
+ LIBS += -L/usr/local/lib -L/opt/homebrew/lib
30
30
31
31
# OpenMP with clang needs following...
32
32
OMPFLAGS = -Xpreprocessor -fopenmp
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ CXX=clang++
21
21
CC=clang
22
22
23
23
# taken from makefile...
24
- CFLAGS += -I include -I/usr/local/include
24
+ CFLAGS += -I include -I/usr/local/include -I/opt/homebrew/include
25
25
FFLAGS = $(CFLAGS)
26
26
CXXFLAGS = $(CFLAGS)
27
- LIBS += -L/usr/local/lib
27
+ LIBS += -L/usr/local/lib -L/opt/homebrew/lib
28
28
29
29
# Use MATLAB's shipped OpenMP (not gomp otherwise segfaults), with clang...
30
30
MOMPFLAGS = -D_OPENMP
@@ -40,7 +40,7 @@ FFTWOMPSUFFIX=threads
40
40
# MATLAB interface:
41
41
# some of these will depend on your FFTW library location, but this is where
42
42
# brew should put things...
43
- MFLAGS += -I/usr/local/include -L/usr/local/lib -lm
43
+ MFLAGS += -I/usr/local/include -I/opt/homebrew/include - L/usr/local/lib -L/opt/homebrew /lib -lm
44
44
# should work, or edit for your MATLAB version location...
45
45
MEX = $(shell ls -d /Applications/MATLAB_R20**.app)/bin/mex
46
46
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ CFLAGS +=
24
24
#CFLAGS += "-mmacosx-version-min=<OLDER OSX VERSION NUMBER>"
25
25
26
26
# as in makefile, but with the brew /usr/local/ stuff...
27
- CFLAGS += -I src -I/usr/local/include
27
+ CFLAGS += -I src -I/usr/local/include -I/opt/homebrew/include
28
28
FFLAGS = $(CFLAGS)
29
29
CXXFLAGS = $(CFLAGS)
30
- LIBS += -L/usr/local/lib
30
+ LIBS += -L/usr/local/lib -L/opt/homebrew/lib
31
31
32
32
# OpenMP with GCC on OSX needs following...
33
33
OMPFLAGS = -fopenmp
@@ -37,7 +37,7 @@ FFTWOMPSUFFIX=threads
37
37
38
38
# MATLAB interface:
39
39
# some of these will depend on your FFTW library location...
40
- MFLAGS += -I/usr/local/include - L/usr/local/lib -lm
40
+ MFLAGS += -I/usr/local/include -I/opt/homebrew/include - L/usr/local/lib -L/opt/homebrew /lib -lm
41
41
# edit for your MATLAB version location...
42
42
MEX = $(shell ls -d /Applications/MATLAB_R20**.app)/bin/mex
43
43
# Also see docs/install.rst for possible edits to MATLAB's MEX XML file.
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ CFLAGS +=
25
25
#CFLAGS += "-mmacosx-version-min=<OLDER OSX VERSION NUMBER>"
26
26
27
27
# as in makefile, but with the brew /usr/local/ stuff...
28
- CFLAGS += -I src -I/usr/local/include
28
+ CFLAGS += -I src -I/usr/local/include -I/opt/homebrew/include
29
29
FFLAGS = $(CFLAGS)
30
30
CXXFLAGS = $(CFLAGS)
31
- LIBS += -L/usr/local/lib
31
+ LIBS += -L/usr/local/lib -L/opt/homebrew/lib
32
32
33
33
# OpenMP with GCC on OSX needs following...
34
34
OMPFLAGS = -fopenmp
@@ -38,7 +38,7 @@ FFTWOMPSUFFIX=threads
38
38
39
39
# MATLAB interface:
40
40
# some of these will depend on your FFTW library location...
41
- MFLAGS += -I/usr/local/include -L/usr/local/lib -lm
41
+ MFLAGS += -I/usr/local/include -I/opt/homebrew/include - L/usr/local/lib -L/opt/homebrew /lib -lm
42
42
# edit for your MATLAB version location...
43
43
MEX = $(shell ls -d /Applications/MATLAB_R20**.app)/bin/mex
44
44
# Also see docs/install.rst for possible edits to MATLAB's MEX XML file.
You can’t perform that action at this time.
0 commit comments