Make parallel version optional - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 55a0beec4a87dc5ceecb64828c77aef6d49d6805 DIR parent 8b7879e94f29387e867047c890d1441ddaa3546f HTML Author: sin <sin@2f30.org> Date: Sat, 6 Apr 2019 17:36:35 +0100 Make parallel version optional Diffstat: M Makefile | 7 +++++-- M README | 2 +- A config.mk | 4 ++++ 3 files changed, 10 insertions(+), 3 deletions(-) --- DIR diff --git a/Makefile b/Makefile @@ -1,3 +1,5 @@ +include config.mk + VERSION = 0.9 PREFIX = /usr/local MANPREFIX = $(PREFIX)/man @@ -42,11 +44,12 @@ DISTFILES = \ LICENSE \ Makefile \ README \ + config.mk \ -CFLAGS = -g -O2 -Wall -fopenmp +CFLAGS = -g -O2 -Wall $(OPENMPCFLAGS) CPPFLAGS = -I/usr/local/include -D_FILE_OFFSET_BITS=64 LDFLAGS = -L/usr/local/lib -LDLIBS = -llz4 -lomp +LDLIBS = -llz4 $(OPENMPLDLIBS) all: $(BIN) DIR diff --git a/README b/README @@ -41,7 +41,7 @@ Dependencies ============ - liblz4 - - libomp + - libomp (optional, see config.mk) Contact ======= DIR diff --git a/config.mk b/config.mk @@ -0,0 +1,4 @@ +#OPENMPCFLAGS = -fopenmp +#OPENMPLDLIBS = -lomp +OPENMPCFLAGS = +OPENMPLDLIBS =