sacrifice 24 lines to suckless style :)
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,8 +1,8 @@
|
||||
WAYLAND_PROTOCOLS=$(shell pkg-config --variable=pkgdatadir wayland-protocols)
|
||||
WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner)
|
||||
|
||||
CFLAGS ?= -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare
|
||||
CFLAGS += -Werror -I. -DWLR_USE_UNSTABLE
|
||||
CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare
|
||||
CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 -Werror=declaration-after-statement
|
||||
|
||||
PKGS = wlroots wayland-server xkbcommon
|
||||
CFLAGS += $(foreach p,$(PKGS),$(shell pkg-config --cflags $(p)))
|
||||
|
Reference in New Issue
Block a user