aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-09-29 10:53:41 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-09-29 10:53:41 -0700
commit88b8c199e3524b7c4e2667db3683c77d70f34a26 (patch)
treeafe6f897edf813e9cf2c9221f3eab3fee935a900 /Makefile
parentb9a07a67b85e9192faa0e285b4419bd5ef242a03 (diff)
feat(wm): working prototype
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