mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-05 07:15:31 -04:00
use POSIX.1-2024 (aka Issue 8) in the makefile
This commit is contained in:
parent
0caa658276
commit
8db4ed06e4
2 changed files with 15 additions and 13 deletions
10
config.mk
10
config.mk
|
|
@ -1,7 +1,7 @@
|
|||
_VERSION = 0.8-dev
|
||||
VERSION = `git describe --tags --dirty 2>/dev/null || echo $(_VERSION)`
|
||||
VERSION != git describe --tags --dirty 2>/dev/null || echo $(_VERSION)
|
||||
|
||||
PKG_CONFIG = pkg-config
|
||||
PKG_CONFIG ?= pkg-config
|
||||
|
||||
# paths
|
||||
PREFIX = /usr/local
|
||||
|
|
@ -21,8 +21,8 @@ DATADIR = $(PREFIX)/share
|
|||
# -I$(PWD)/wlroots/0.19/include/wlroots-0.19
|
||||
#WLR_LIBS = -Wl,-rpath,$(PWD)/wlroots/0.19/lib64 -L$(PWD)/wlroots/0.19/lib64 -lwlroots-0.19
|
||||
|
||||
WLR_INCS = `$(PKG_CONFIG) --cflags wlroots-0.19`
|
||||
WLR_LIBS = `$(PKG_CONFIG) --libs wlroots-0.19`
|
||||
WLR_INCS != $(PKG_CONFIG) --cflags wlroots-0.19
|
||||
WLR_LIBS != $(PKG_CONFIG) --libs wlroots-0.19
|
||||
|
||||
XWAYLAND =
|
||||
XLIBS =
|
||||
|
|
@ -33,4 +33,4 @@ XLIBS =
|
|||
# dwl itself only uses C99 features, but wlroots' headers use anonymous unions (C11).
|
||||
# To avoid warnings about them, we do not use -std=c99 and instead of using the
|
||||
# gmake default 'CC=c99', we use cc.
|
||||
CC = cc
|
||||
CC ?= cc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue