# # 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: dw_strassen strassen_kernels.o: strassen.h strassen_kernels.c $(CC) $(CFLAGS) strassen_kernels.c -c -o strassen_kernels.o strassen.o: strassen.h strassen.c $(CC) $(CFLAGS) strassen.c -c -o strassen.o test_strassen.o: test_strassen.c strassen.h $(CC) $(CFLAGS) test_strassen.c -c -o test_strassen.o strassen_models.o: strassen_models.c strassen_models.h $(CC) $(CFLAGS) strassen_models.c -c -o strassen_models.o dw_strassen: $(STARPU) strassen_models.o strassen.o strassen_kernels.o test_strassen.o ../common/blas.o $(CC) strassen_models.o strassen.o strassen_kernels.o test_strassen.o -o dw_strassen $(LDFLAGS) $(LIBS) clean: @rm -f *.o *.d *.gcno *.gcda @rm -f dw_strassen