tGroup headers under an HDR var in Makefile - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 61ae15985e29c27b7d0a6cce11a9bcee3f06be26
(DIR) parent 7efac95d6c9a69d75808dc7ec540f8803e8c2af6
(HTM) Author: sin <sin@2f30.org>
Date: Sat, 6 Apr 2019 17:14:18 +0100
Group headers under an HDR var in Makefile
Diffstat:
M Makefile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -2,14 +2,17 @@ VERSION = 0.9
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/man
BIN = dedup
-SRC = \
- $(BIN).c \
+HDR = \
arg.h \
blake2-impl.h \
blake2.h \
config.h \
dedup.h \
tree.h \
+
+SRC = \
+ $(BIN).c \
+ $(HDR) \
blake2b-ref.c \
chunker.c \
compress.c \
t@@ -45,7 +48,7 @@ LDLIBS = -llz4
all: $(BIN)
-$(OBJ): arg.h blake2-impl.h blake2.h config.h dedup.h tree.h
+$(OBJ): $(HDR)
clean:
rm -f $(OBJ) $(BIN) $(BIN)-$(VERSION).tar.gz