Streamline build system

This commit is contained in:
Jan Eitzinger
2021-03-24 08:43:44 +01:00
parent 4b481bb407
commit d026028439
7 changed files with 29 additions and 28 deletions

View File

@@ -1,5 +1,4 @@
CC = icc
CXX = icpc
LINKER = $(CC)
OPENMP = #-qopenmp
@@ -11,10 +10,8 @@ PROFILE = #-profile-functions -g -pg
#OPTS = -fast -no-vec $(PROFILE)
OPTS = -fast -xHost $(PROFILE)
CFLAGS = $(PROFILE) -restrict $(OPENMP) $(OPTS)
CXXFLAGS = $(CFLAGS)
ASFLAGS = -masm=intel
FCFLAGS =
LFLAGS = $(PROFILE) $(OPTS) $(OPENMP)
DEFINES = -D_GNU_SOURCE -DALIGNMENT=64 # -DLIKWID_PERFMON -DPRECISION=1
DEFINES = -D_GNU_SOURCE # -DALIGNMENT=64 -DLIKWID_PERFMON -DPRECISION=1
INCLUDES = #$(LIKWID_INC)
LIBS = #$(LIKWID_LIB) -llikwid
LIBS = -lm #$(LIKWID_LIB) -llikwid