[hackers] [farbfeld] Makefile: target should depend on its object

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Thu, 30 Mar 2017 11:26:39 +0200

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 1f7446f..a735719 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -13,7 +13,7 @@ MAN5 = farbfeld.5
 
 all: $(BIN)
 
-$(BIN): $(REQ:=.o)
+$(BIN): $(BIN:=.o) $(REQ:=.o)
 
 $(BIN:=.o): config.mk $(HDR) $(REQ:=.h)
 
-- 
2.12.1
Received on Thu Mar 30 2017 - 11:26:39 CEST

This archive was generated by hypermail 2.3.0 : Thu Mar 30 2017 - 11:36:16 CEST