diff options
author | KawaiiAmber <japaneselearning101@gmail.com> | 2022-05-25 16:04:19 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-06-06 22:53:36 -0500 |
commit | 7b42232ad10bdb5585a5df9222dd9c15a1a63f80 (patch) | |
tree | 33ed2aba0430cc2b44c7ce0fc02a3ec62c8018e2 /config.mk | |
parent | a5a0674f6a92bc47eed51fa5e08279d9d6b1b369 (diff) |
convert makefile to be more portable
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |