aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-09 14:52:03 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-09 16:24:36 -0500
commit5d8084daa7812931b53d65312b2cebf9a8453e49 (patch)
treea454f5369f973bbec2ed06b500082de3f8de1756 /Makefile
parent07d56c6d7ba0a35f83d4de4895c04e31edadbdb1 (diff)
add flag to print version and exit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 48a0aa7..c235633 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
include config.mk
-CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 -pedantic
+CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 -pedantic -DVERSION=\"$(VERSION)\"
WAYLAND_PROTOCOLS=$(shell pkg-config --variable=pkgdatadir wayland-protocols)
WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner)