chundoong-lab-ta/SHPC2022/hw5_answer/matmul/Makefile

16 lines
326 B
Makefile
Raw Normal View History

2022-11-17 16:42:39 +09:00
TARGET=main
OBJECTS=util.o matmul.o
CPPFLAGS=-O3 -Wall -march=native -mavx2 -mfma -fopenmp -mno-avx512f -I/usr/local/cuda-11.7/targets/x86_64-linux/include
LDFLAGS=-L/usr/local/cuda-11.7/targets/x86_64-linux/lib
LDLIBS=-lm -pthread -lOpenCL
CC=gcc
all: $(TARGET)
$(TARGET): $(OBJECTS)
clean:
rm -rf $(TARGET) $(OBJECTS)