dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit 55a0beec4a87dc5ceecb64828c77aef6d49d6805
parent 8b7879e94f29387e867047c890d1441ddaa3546f
Author: sin <sin@2f30.org>
Date:   Sat,  6 Apr 2019 17:36:35 +0100

Make parallel version optional

Diffstat:
MMakefile | 7+++++--
MREADME | 2+-
Aconfig.mk | 4++++
3 files changed, 10 insertions(+), 3 deletions(-)

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) diff --git a/README b/README @@ -41,7 +41,7 @@ Dependencies ============ - liblz4 - - libomp + - libomp (optional, see config.mk) Contact ======= diff --git a/config.mk b/config.mk @@ -0,0 +1,4 @@ +#OPENMPCFLAGS = -fopenmp +#OPENMPLDLIBS = -lomp +OPENMPCFLAGS = +OPENMPLDLIBS =