15 lines
207 B
Makefile
15 lines
207 B
Makefile
|
TARGET=main
|
||
|
OBJECTS=util.o matmul.o
|
||
|
|
||
|
CPPFLAGS=-O3 -Wall -march=native -mavx2 -mfma -mavx512f -fopenmp
|
||
|
LDFLAGS=-lm -pthread
|
||
|
|
||
|
CC=gcc
|
||
|
|
||
|
all: $(TARGET)
|
||
|
|
||
|
$(TARGET): $(OBJECTS)
|
||
|
|
||
|
clean:
|
||
|
rm -rf $(TARGET) $(OBJECTS)
|