summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-05-02 15:21:36 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-05-02 15:21:36 -0500
commitecdd012f6b2ba4e1ed636c6d8456b86f326d9a81 (patch)
tree2edbf5bfefbe1670083fdf82ceacaa78ea6f8e71 /Makefile
parent20ed6cb3d565f14cca50a4389815a72a908f1daf (diff)
sacrifice 24 lines to suckless style :)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index aeb4bf5..f542c88 100644
--- a/Makefile
+++ b/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)))