aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-09-20 23:34:48 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-09-20 23:34:48 -0500
commit31106eff64406a004beb18c265a8b6fa0ae4f7a5 (patch)
tree98a59e22b77ef4f1656e089410594abb180fe939 /config.mk
parent1fdc65ff930a326c92b58129970026daec400862 (diff)
rework Makefile
- allow user to use a different pkg-config binary - restore almost all (and add other ones) warning flags (-Werror is not set) - $(XWAYLAND) is added to our CPPFLAGS - remove useless comments - don't generate idle-protocol.h (not used)
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 55c7262..091c03a 100644
--- a/config.mk
+++ b/config.mk
@@ -1,13 +1,12 @@
_VERSION = 0.3.1-dev
VERSION = `git describe --long --tags --dirty 2>/dev/null || echo $(_VERSION)`
+PKG_CONFIG = pkg-config
+
# paths
PREFIX = /usr/local
MANDIR = $(PREFIX)/share/man
-# 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