2023-10-15 00:56:00 +01:00
|
|
|
CC = gcc
|
|
|
|
SRC = src/
|
2023-11-26 15:17:10 +00:00
|
|
|
CFLAGS = -march=native -mtune=native -mavx -O2 -ftree-vectorize -fopenmp
|
2023-10-15 00:56:00 +01:00
|
|
|
|
2023-10-22 16:06:13 +01:00
|
|
|
.DEFAULT_GOAL = MD.exe
|
2023-10-15 00:56:00 +01:00
|
|
|
|
2023-11-26 15:17:10 +00:00
|
|
|
MD.exe: $(SRC)/MD2.cpp
|
|
|
|
$(CC) $(CFLAGS) $(SRC)MD2.cpp -lm -o MD.exe
|
2023-10-15 00:56:00 +01:00
|
|
|
|
|
|
|
clean:
|
2023-10-22 16:06:13 +01:00
|
|
|
rm ./MD.exe
|
2023-10-15 00:56:00 +01:00
|
|
|
|
|
|
|
run:
|
2023-10-22 16:06:13 +01:00
|
|
|
./MD.exe < inputdata.txt
|
2023-10-16 01:00:45 +01:00
|
|
|
|
|
|
|
runfull: clean MD run
|