[hackers] [farbfeld] Mark explicit dependency on requisites for BIN || Laslo Hunhold
commit d0ce307972fbc95073666e92043fc7012ffbefdf
Author: Laslo Hunhold <dev_AT_frign.de>
AuthorDate: Thu Mar 30 09:29:06 2017 +0200
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Thu Mar 30 09:29:06 2017 +0200
Mark explicit dependency on requisites for BIN
diff --git a/Makefile b/Makefile
index e1e954d..1f7446f 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -13,11 +13,13 @@ MAN5 = farbfeld.5
all: $(BIN)
-.o: $(REQ:=.o)
- $(CC) $(LDFLAGS) $($*-LDFLAGS) -o $_AT_ $< $(REQ:=.o)
+$(BIN): $(REQ:=.o)
$(BIN:=.o): config.mk $(HDR) $(REQ:=.h)
+.o: $(REQ:=.o)
+ $(CC) $(LDFLAGS) $($*-LDFLAGS) -o $_AT_ $< $(REQ:=.o)
+
clean:
rm -f $(BIN) $(BIN:=.o) $(REQ:=.o)
Received on Thu Mar 30 2017 - 09:29:27 CEST
This archive was generated by hypermail 2.3.0
: Thu Mar 30 2017 - 09:36:16 CEST