]> git.lizzy.rs Git - bspwm.git/blobdiff - Makefile
bspwm: port rounded corners patch to latest version
[bspwm.git] / Makefile
index a262815eea73fe1c58dd5151737952ea38e1675a..9cbedc22062a73bce5eb1f6e6959cadc1aaf975b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
-VERCMD  ?= git describe 2> /dev/null
+VERCMD  ?= git describe --tags 2> /dev/null
 VERSION := $(shell $(VERCMD) || cat VERSION)
 
 CPPFLAGS += -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"
-CFLAGS   += -std=c99 -pedantic -Wall -Wextra
-LDLIBS    = -lm -lxcb -lxcb-util -lxcb-keysyms -lxcb-icccm -lxcb-ewmh -lxcb-randr -lxcb-xinerama
+CFLAGS   += -std=c99 -pedantic -Wall -Wextra -DJSMN_STRICT
+LDFLAGS  ?=
+LDLIBS    = $(LDFLAGS) -lm -lxcb -lxcb-util -lxcb-keysyms -lxcb-icccm -lxcb-ewmh -lxcb-randr -lxcb-xinerama -lxcb-shape
 
 PREFIX    ?= /usr/local
 BINPREFIX ?= $(PREFIX)/bin