mirror of
https://github.com/TREX-CoE/Sherman-Morrison.git
synced 2025-01-01 00:56:02 +01:00
18 lines
414 B
Makefile
18 lines
414 B
Makefile
|
CC=icc
|
||
|
CFLAGS=-std=c99 -O3 -Wall -g -xCORE-AVX2
|
||
|
|
||
|
LDFLAGS=-L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5 -lhdf5_hl
|
||
|
LDFLAGS+=-L$(MKLROOT)/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm -ldl
|
||
|
|
||
|
all: test_icc_mkl
|
||
|
|
||
|
test_icc_mkl: sm.o test.o meuk.o
|
||
|
$(CC) $(LDFLAGS) -o test_icc_mkl sm.o test.o meuk.o
|
||
|
|
||
|
%.o : %.c
|
||
|
$(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $<
|
||
|
|
||
|
clean:
|
||
|
rm -rf *.o *genmod* test_icc_mkl
|
||
|
|