Push make dependencies on objects instead of binary - sacc - sacc(omys), simple console gopher client
HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR LICENSE
---
DIR commit dd589fa72ace15295af2eb6a0426d2c49de3b524
DIR parent dbc5c018d5773da8514ff933815c9612d20b2677
HTML Author: Quentin Rameau <quinq@fifth.space>
Date: Wed, 26 Jul 2017 17:46:24 +0200
Push make dependencies on objects instead of binary
Diffstat:
M Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -12,9 +12,11 @@ all: $(BIN)
config.h:
cp config.def.h config.h
-$(BIN): config.h config.mk common.h $(OBJ)
+$(BIN): $(OBJ)
$(CC) $(OBJ) $(SACCLDFLAGS) -o $@
+$(OBJ): config.h config.mk common.h
+
clean:
rm -f $(BIN) $(OBJ)