# # StarPU # Copyright (C) INRIA 2008-2009 (see AUTHORS file) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # See the GNU Lesser General Public License in COPYING.LGPL for more details. # export PKG_CONFIG_PATH=@STARPUDIR@ LIBS+=$$(pkg-config --libs libstarpu) CFLAGS+=$$(pkg-config --cflags libstarpu) LDFLAGS += ../common/blas.o all: strassen strassen.o: strassen.c $(CC) $(CFLAGS) strassen.c -c -o strassen.o strassen_kernels.o: strassen_kernels.c $(CC) $(CFLAGS) strassen_kernels.c -c -o strassen_kernels.o strassen: strassen.o strassen_kernels.o ../common/blas.o $(CC) strassen.o strassen_kernels.o -o strassen $(LDFLAGS) $(LIBS) clean: @rm -f *.o *.d *.gcno *.gcda @rm -f strassen