NVCC = nvcc NVCC_FLAGS = -O3 -arch=sm_75 TARGET = matrix_mul SRC = matrix_mul.cu CXX = gcc-13 $(TARGET): $(SRC) $(NVCC) $(NVCC_FLAGS) -ccbin $(CXX) -o $@ $< .PHONY: clean clean: rm -f $(TARGET)