Accept user-defined LDFLAGS in Makefile - noice - small file browser (mirror / fork from 2f30.org)
HTML git clone git://git.codemadness.org/noice
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 2bed0dd175e573aca14c93b698a92989140008e0
DIR parent d56de6318faef8450770a7d139ac30840296de6a
HTML Author: sin <sin@2f30.org>
Date: Mon, 22 Aug 2016 11:22:24 +0100
Accept user-defined LDFLAGS in Makefile
Diff by Ypnose
Diffstat:
M Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -15,7 +15,7 @@ BIN = noice
all: $(BIN)
$(BIN): $(OBJ)
- $(CC) $(CFLAGS) -o $@ $(OBJ) $(LDLIBS)
+ $(CC) $(CFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(LDLIBS)
noice.o: util.h config.h
strlcat.o: util.h