2010-11-25 01:31:12 +01:00
|
|
|
|
2010-11-26 22:13:32 +01:00
|
|
|
if WANT_JANSSON
|
|
|
|
JANSSON_INCLUDES= -I$(top_srcdir)/compat/jansson
|
|
|
|
else
|
|
|
|
JANSSON_INCLUDES=
|
|
|
|
endif
|
|
|
|
|
|
|
|
SUBDIRS = compat
|
|
|
|
|
2010-11-26 22:28:12 +01:00
|
|
|
INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES)
|
2010-11-25 01:31:12 +01:00
|
|
|
|
|
|
|
bin_PROGRAMS = minerd
|
|
|
|
|
2010-11-27 10:31:32 +01:00
|
|
|
minerd_SOURCES = cpu-miner.c sha256_generic.c sha256_4way.c sha256_via.c \
|
2010-11-29 02:16:22 +01:00
|
|
|
sha256_cryptopp.c util.c miner.h compat.h
|
2010-11-26 22:28:12 +01:00
|
|
|
minerd_LDFLAGS = $(PTHREAD_FLAGS)
|
2010-11-26 21:20:54 +01:00
|
|
|
minerd_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@
|
2010-11-25 01:31:12 +01:00
|
|
|
|