Introduction
Introduction Statistics Contact Development Disclaimer Help
Mark explicit dependency on requisites for BIN - farbfeld - suckless image form…
git clone git://git.suckless.org/farbfeld
Log
Files
Refs
README
LICENSE
---
commit d0ce307972fbc95073666e92043fc7012ffbefdf
parent 0aaa36464a4ad965a3d747cc6df16137c7b5d6c5
Author: Laslo Hunhold <[email protected]>
Date: Thu, 30 Mar 2017 09:29:06 +0200
Mark explicit dependency on requisites for BIN
Diffstat:
M Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -13,11 +13,13 @@ MAN5 = farbfeld.5
all: $(BIN)
-.o: $(REQ:=.o)
- $(CC) $(LDFLAGS) $($*-LDFLAGS) -o $@ $< $(REQ:=.o)
+$(BIN): $(REQ:=.o)
$(BIN:=.o): config.mk $(HDR) $(REQ:=.h)
+.o: $(REQ:=.o)
+ $(CC) $(LDFLAGS) $($*-LDFLAGS) -o $@ $< $(REQ:=.o)
+
clean:
rm -f $(BIN) $(BIN:=.o) $(REQ:=.o)
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.