Push make dependencies on objects instead of binary - sacc - sacc(omys), simple console gopher client
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
Log
Files
Refs
Tags
LICENSE
---
commit dd589fa72ace15295af2eb6a0426d2c49de3b524
parent dbc5c018d5773da8514ff933815c9612d20b2677
Author: Quentin Rameau 
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(-)
---
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)