mirror of
https://codeberg.org/FabricSoul/dwl.git
synced 2025-08-03 12:10:22 -04:00
make XWayland support optional
This commit is contained in:
parent
541ecea796
commit
e3e9504fcd
3 changed files with 191 additions and 133 deletions
7
Makefile
7
Makefile
|
@ -1,9 +1,10 @@
|
|||
include config.mk
|
||||
|
||||
CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 -Werror=declaration-after-statement
|
||||
|
||||
WAYLAND_PROTOCOLS=$(shell pkg-config --variable=pkgdatadir wayland-protocols)
|
||||
WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner)
|
||||
|
||||
CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-error=unused-function
|
||||
CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 -Werror=declaration-after-statement
|
||||
|
||||
PKGS = wlroots wayland-server xcb xkbcommon
|
||||
CFLAGS += $(foreach p,$(PKGS),$(shell pkg-config --cflags $(p)))
|
||||
LDLIBS += $(foreach p,$(PKGS),$(shell pkg-config --libs $(p)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue