2023-10-15 00:56:00 +01:00
|
|
|
CC = gcc
|
|
|
|
SRC = src/
|
|
|
|
CFLAGS = # none
|
|
|
|
|
2023-10-22 16:06:13 +01:00
|
|
|
.DEFAULT_GOAL = MD.exe
|
2023-10-15 00:56:00 +01:00
|
|
|
|
2023-10-22 16:06:13 +01:00
|
|
|
MD.exe: $(SRC)/MD.cpp
|
|
|
|
$(CC) $(CFLAGS) $(SRC)MD.cpp -lm -march=native -mtune=native -mavx -O2 -ftree-vectorize -funroll-loops -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
|