farbfeld

suckless image format with conversion tools
git clone git://git.suckless.org/farbfeld
Log | Files | Refs | README | LICENSE

commit d0ce307972fbc95073666e92043fc7012ffbefdf
parent 0aaa36464a4ad965a3d747cc6df16137c7b5d6c5
Author: Laslo Hunhold <dev@frign.de>
Date:   Thu, 30 Mar 2017 09:29:06 +0200

Mark explicit dependency on requisites for BIN

Diffstat:
MMakefile | 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)