aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorKawaiiAmber <japaneselearning101@gmail.com>2022-05-25 16:04:19 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-06-06 22:53:36 -0500
commit7b42232ad10bdb5585a5df9222dd9c15a1a63f80 (patch)
tree33ed2aba0430cc2b44c7ce0fc02a3ec62c8018e2 /config.mk
parenta5a0674f6a92bc47eed51fa5e08279d9d6b1b369 (diff)
convert makefile to be more portable
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/config.mk b/config.mk
index 37b4114..3a5e37f 100644
--- a/config.mk
+++ b/config.mk
@@ -1,12 +1,13 @@
_VERSION = 0.3.1
-VERSION = $(shell ./generate-version.sh $(_VERSION))
+VERSION = `./generate-version.sh $(_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 =
# Uncomment to build XWayland support
-#CFLAGS += -DXWAYLAND
+#XWAYLAND = -DXWAYLAND