Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndskg authored Jul 21, 2023
1 parent 6a525c5 commit d6f6701
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@ CXX = g++
# Compiler flags
CXXFLAGS = -std=c++20 -Wconversion -Wall -Werror -Wextra -pedantic -g -I/opt/homebrew/opt/curl/include

# Update compiler flags to include paths for oneMKL headers
CXXFLAGS += -I/opt/intel/oneapi/mkl/2023.2.0/include

# Linker flags and libraries
LDFLAGS = -L/opt/homebrew/opt/curl/lib

# Update library paths and linking flags to ensure that the linker can find the oneMKL library files
LDFLAGS += -L/opt/intel/oneapi/mkl2023.2.0/lib -WI, -rpath -lmkl_intel_ilp64 -lmkl_tbb_thread -lmkl_core -lpthread -lm -ldl

LIBS = -lcurl

# Define the source files used in the project
Expand Down

0 comments on commit d6f6701

Please sign in to comment.