summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-08-26 18:26:36 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-08-26 18:26:36 -0500
commite0cc5b046c4061cc1f57118167b5542626e27ba3 (patch)
treedf2db7882ca92faa2e569cfa3b524ad20a80cb30 /config.mk
parent058c699ac2552db13ea8bbef64182c59cceaf55c (diff)
parent406aebcbd2d9526834ad4131ac8b454a9f27c0d9 (diff)
Merge remote-tracking branch 'djpohly/main' into wlroots-next
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/config.mk b/config.mk
index 37b4114..4638d5f 100644
--- a/config.mk
+++ b/config.mk
@@ -1,12 +1,15 @@
_VERSION = 0.3.1
-VERSION = $(shell ./generate-version.sh $(_VERSION))
+VERSION = `git describe --long --tags --dirty 2>/dev/null || echo $(_VERSION)`
# paths
PREFIX = /usr/local
MANDIR = $(PREFIX)/share/man
-# Default compile flags (overridable by environment)
-CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement
+# Compile flags that can be used
+#CFLAGS = -pedantic -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement
+XWAYLAND =
+XLIBS =
# Uncomment to build XWayland support
-#CFLAGS += -DXWAYLAND
+#XWAYLAND = -DXWAYLAND
+#XLIBS = xcb