diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 3cf7c00..a56fd5c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,7 +14,12 @@ INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES) bin_PROGRAMS = minerd minerd_SOURCES = cpu-miner.c sha256_generic.c sha256_4way.c sha256_via.c \ - sha256_cryptopp.c util.c miner.h compat.h + sha256_cryptopp.c sha256_sse2_amd64.c util.c miner.h compat.h minerd_LDFLAGS = $(PTHREAD_FLAGS) minerd_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ +if HAS_YASM +SUBDIRS += x86_64 +minerd_LDADD += x86_64/libx8664.a +AM_CFLAGS = -DHAS_YASM +endif |