Introduction
Introduction Statistics Contact Development Disclaimer Help
Pass LDFLAGS instead of CFLAGS in the linking stage - farbfeld - suckless image…
git clone git://git.suckless.org/farbfeld
Log
Files
Refs
README
LICENSE
---
commit 0aaa36464a4ad965a3d747cc6df16137c7b5d6c5
parent ef433a6baa3449f5a5ec7a6fd09efdd0ea6fb57b
Author: Laslo Hunhold <[email protected]>
Date: Thu, 30 Mar 2017 08:59:52 +0200
Pass LDFLAGS instead of CFLAGS in the linking stage
Diffstat:
M 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)
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.