2024-07-15 03:34:28 +00:00
|
|
|
_VERSION = 0.8-dev
|
2022-12-30 20:45:03 +00:00
|
|
|
VERSION = `git describe --tags --dirty 2>/dev/null || echo $(_VERSION)`
|
2022-05-09 19:52:03 +00:00
|
|
|
|
2022-09-21 04:34:48 +00:00
|
|
|
PKG_CONFIG = pkg-config
|
|
|
|
|
2020-11-22 17:58:49 +00:00
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
2022-01-05 00:54:02 +00:00
|
|
|
MANDIR = $(PREFIX)/share/man
|
2023-09-24 17:24:39 +00:00
|
|
|
DATADIR = $(PREFIX)/share
|
2020-11-22 17:58:49 +00:00
|
|
|
|
2022-05-25 22:04:19 +00:00
|
|
|
XWAYLAND =
|
2022-05-30 21:18:31 +00:00
|
|
|
XLIBS =
|
2020-08-10 17:50:56 +00:00
|
|
|
# Uncomment to build XWayland support
|
2022-05-25 22:04:19 +00:00
|
|
|
#XWAYLAND = -DXWAYLAND
|
2022-09-18 20:49:30 +00:00
|
|
|
#XLIBS = xcb xcb-icccm
|
2024-06-21 00:38:59 +00:00
|
|
|
|
2024-08-02 02:38:57 +00:00
|
|
|
# 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
|