convert makefile to be more portable
This commit is contained in:
committed by
Leonardo Hernández Hernández
parent
a5a0674f6a
commit
7b42232ad1
@@ -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
|
||||
|
Reference in New Issue
Block a user