2022-11-07 14:36:30 +09:00
|
|
|
TARGET=main
|
|
|
|
OBJECTS=util.o riemannsum.o
|
|
|
|
|
|
|
|
CPPFLAGS=-O3 -Wall -march=native -mavx2 -mfma -mno-avx512f -fopenmp
|
2022-11-07 15:53:06 +09:00
|
|
|
LDLIBS=-lm -lmpi -lmpi_cxx -lpthread
|
2022-11-07 14:36:30 +09:00
|
|
|
|
|
|
|
CC=gcc
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
$(TARGET): $(OBJECTS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(TARGET) $(OBJECTS)
|