Makefile 455 Bytes
Newer Older
AUMAGE Olivier's avatar
AUMAGE Olivier committed
1 2
CFLAGS += $(shell pkg-config --cflags starpu-1.3)
LDFLAGS += $(shell pkg-config --libs starpu-1.3) -lblas
AUMAGE Olivier's avatar
AUMAGE Olivier committed
3 4 5 6 7 8 9 10 11 12 13 14 15

%.o: %.cu
	nvcc $(CFLAGS) $< -c $

vector_scal_task_insert: vector_scal_task_insert.o vector_scal_cpu.o vector_scal_cuda.o vector_scal_opencl.o
mult: mult.c
gemm/sgemm: gemm/sgemm.o gemm/common/blas.o
gemm/dgemm: gemm/dgemm.o gemm/common/blas.o

clean:
	rm -f vector_scal_task_insert mult *.o
	rm -f gemm/sgemm gemm/dgemm gemm/*.o gemm/common/*.o