]> git.sur5r.net Git - i3/i3/blobdiff - common.mk
huge change: implement RandR instead of Xinerama
[i3/i3] / common.mk
index 856f9a7b22fe551fb9f97dffb80f7e793acaad44..3b88b6fe4da29b30eb5b655dd90b2a8e1c0bcb9d 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -1,7 +1,7 @@
 UNAME=$(shell uname)
 DEBUG=1
 INSTALL=install
-GIT_VERSION:=$(shell git describe --tags --always)
+GIT_VERSION:="$(shell git describe --tags --always) ($(shell git log --pretty=format:%cd --date=short -n1))"
 VERSION:=$(shell git describe --tags --abbrev=0)
 
 CFLAGS += -std=c99
@@ -35,7 +35,7 @@ LDFLAGS += -lxcb-keysyms
 LDFLAGS += -lxcb-atom
 LDFLAGS += -lxcb-aux
 LDFLAGS += -lxcb-icccm
-LDFLAGS += -lxcb-xinerama
+LDFLAGS += -lxcb-randr
 LDFLAGS += -lxcb
 LDFLAGS += -lX11
 LDFLAGS += -lev
@@ -74,5 +74,5 @@ endif
 .SILENT:
 
 # Always remake the following targets
-.PHONY: install clean dist distclean rm_loglevels
+.PHONY: install clean dist distclean