commit fd7b870bfdda905bdfd590fbf4b12e00d5ebef52 parent 7683091e12215bb9795d6e6c4c0d3642fde0e446 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(-)
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