tPush make dependencies on objects instead of binary - sacc - sacc (saccomys): … | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit dd589fa72ace15295af2eb6a0426d2c49de3b524 | |
parent dbc5c018d5773da8514ff933815c9612d20b2677 | |
Author: Quentin Rameau <[email protected]> | |
Date: Wed, 26 Jul 2017 17:46:24 +0200 | |
Push make dependencies on objects instead of binary | |
Diffstat: | |
Makefile | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -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) | |