aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 83f45ed..0ef5b88 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,10 @@
CC := gcc
AR := ar
AS := nasm
-PKG := pkg-config
+PKG := PKG_CONFIG_PATH=lib/pkgconfig pkg-config
+
+WL_PROTO:=$(shell $(PKG) --variable=pkgdatadir wayland-protocols)
+WL_SCAN:=$(shell $(PKG) --variable=wayland_scanner wayland-scanner)
# All needed build directories
INC_DIR := include