dedup

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

commit 61ae15985e29c27b7d0a6cce11a9bcee3f06be26
parent 7efac95d6c9a69d75808dc7ec540f8803e8c2af6
Author: sin <sin@2f30.org>
Date:   Sat,  6 Apr 2019 17:14:18 +0100

Group headers under an HDR var in Makefile

Diffstat:
MMakefile | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -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 \ @@ -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