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