mirror of
https://codeberg.org/FabricSoul/dwl.git
synced 2025-08-03 20:10:23 -04:00
convert makefile to be more portable
This commit is contained in:
parent
a5a0674f6a
commit
7b42232ad1
2 changed files with 63 additions and 54 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue