Makefile bikeshedding - dedup - deduplicating backup program
(HTM) git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit fd7b870bfdda905bdfd590fbf4b12e00d5ebef52
(DIR) parent 7683091e12215bb9795d6e6c4c0d3642fde0e446
(HTM) Author: Quentin Rameau <quinq@fifth.space>
Date: Sun, 17 Feb 2019 23:32:57 +0100
Makefile bikeshedding
Diffstat:
M Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -1,10 +1,10 @@
VERSION = 0.0
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/man
-SRC = dedup.c
-OBJ = dedup.o
BIN = dedup
-DISTFILES = $(SRC) LICENSE Makefile README arg.h dedup.1 tree.h
+SRC = $(BIN).c
+OBJ = $(BIN).o
+DISTFILES = $(SRC) LICENSE Makefile README arg.h $(bin).1 tree.h
CFLAGS = -g -Wall
CPPFLAGS = -I/usr/local/include -D_FILE_OFFSET_BITS=64
@@ -13,7 +13,7 @@ LDLIBS = -lcrypto -llz4
all: $(BIN)
-dedup.o: arg.h tree.h
+$(OBJ): arg.h tree.h
clean:
rm -f $(OBJ) $(BIN) $(BIN)-$(VERSION).tar.gz