farbfeld

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

commit 0aaa36464a4ad965a3d747cc6df16137c7b5d6c5
parent ef433a6baa3449f5a5ec7a6fd09efdd0ea6fb57b
Author: Laslo Hunhold <dev@frign.de>
Date:   Thu, 30 Mar 2017 08:59:52 +0200

Pass LDFLAGS instead of CFLAGS in the linking stage

Diffstat:
Makefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -4,6 +4,7 @@ include config.mk +REQ = util HDR = arg.h BIN = png2ff ff2png jpg2ff ff2jpg ff2pam ff2ppm SCR = 2ff @@ -13,7 +14,7 @@ MAN5 = farbfeld.5 all: $(BIN) .o: $(REQ:=.o) - $(CC) $(CFLAGS) $($*-LDFLAGS) -o $@ $< $(REQ:=.o) + $(CC) $(LDFLAGS) $($*-LDFLAGS) -o $@ $< $(REQ:=.o) $(BIN:=.o): config.mk $(HDR) $(REQ:=.h)