Group headers under an HDR var in Makefile - 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 61ae15985e29c27b7d0a6cce11a9bcee3f06be26 DIR parent 7efac95d6c9a69d75808dc7ec540f8803e8c2af6 HTML 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 @@ -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