diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 5623a59..a981f2f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,3 +20,14 @@ minerd_LDFLAGS = $(PTHREAD_FLAGS) minerd_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ minerd_CPPFLAGS = @LIBCURL_CPPFLAGS@ +if HAVE_CELL_SPU + +scrypt-cell-spu.o: scrypt-cell-spu.c sha256-helpers.h \ + scrypt-simd-helpers.h scrypt-cell-spu.h + $(SPU_ELF_GCC) -O3 -fstrict-aliasing -Wall -Wstrict-aliasing \ + -o scrypt-cell-spu.elf scrypt-cell-spu.c + $(EMBEDSPU) scrypt_spu scrypt-cell-spu.elf scrypt-cell-spu.o + +minerd_LDADD += scrypt-cell-spu.o @SPE2_LIBS@ + +endif |