commit 365ffc8273fddfb25f00940a7322eee00d10fb42
parent a96fb0f889b4386aed28012483f00fcec9acf842
Author: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Thu, 10 Aug 2017 16:50:17 +0200
Allow passing LDFLAGS
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -4,7 +4,8 @@ VERSION := $(shell $(VERCMD) || cat VERSION)
CPPFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\"
CFLAGS += -std=c99 -pedantic -Wall -Wextra
-LDLIBS = -lxcb -lxcb-keysyms
+LDFLAGS ?=
+LDLIBS = $(LDFLAGS) -lxcb -lxcb-keysyms
PREFIX ?= /usr/local
BINPREFIX ?= $(PREFIX)/bin