From dcb0111a2227b59e158c1a92e5bc41dc36cd523c Mon Sep 17 00:00:00 2001 From: Noel Maersk Date: Wed, 4 Dec 2013 00:37:49 +0200 Subject: [PATCH] Add all sources unconditionally in Makefile.am. As in wolf's branch: https://github.com/wolf9466/cgminer/commit/cfac323a4fc9c1f908dd9a56aceb242d8022371d --- Makefile.am | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7b9324e4..8b3a0fb4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,22 +27,18 @@ endif cgminer_CPPFLAGS += $(ADL_CPPFLAGS) -# common sources cgminer_SOURCES := cgminer.c - -cgminer_SOURCES += elist.h miner.h compat.h bench_block.h \ - util.c util.h uthash.h logging.h \ - sha2.c sha2.h api.c - -cgminer_SOURCES += logging.c - -if HAS_OPENCL -bin_SCRIPTS = $(top_srcdir)/*.cl - -cgminer_SOURCES += driver-opencl.h driver-opencl.c -cgminer_SOURCES += ocl.c ocl.h findnonce.c findnonce.h +cgminer_SOURCES += api.c +cgminer_SOURCES += elist.h miner.h compat.h bench_block.h +cgminer_SOURCES += util.c util.h uthash.h +cgminer_SOURCES += sha2.c sha2.h +cgminer_SOURCES += logging.c logging.h +cgminer_SOURCES += driver-opencl.c driver-opencl.h +cgminer_SOURCES += ocl.c ocl.h +cgminer_SOURCES += findnonce.c findnonce.h cgminer_SOURCES += adl.c adl.h adl_functions.h -cgminer_SOURCES += *.cl cgminer_SOURCES += scrypt.c scrypt.h +cgminer_SOURCES += *.cl + +bin_SCRIPTS = $(top_srcdir)/*.cl -endif