aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuido Cella <guidocella91@gmail.com>2020-08-24 07:04:34 +0200
committerGuido Cella <guidocella91@gmail.com>2020-08-24 07:04:34 +0200
commit05df9201b3815b7cd8d639850513b80689dd6bfe (patch)
treea93f65543f0e566c43e57cfcda7a53a2a026f0d5 /Makefile
parent44ef698d6ef48a41b0df7c4c47d8b880efdbdf33 (diff)
layer shell initial attempt
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 56ab751..8022c9b 100644
--- a/Makefile
+++ b/Makefile
@@ -23,12 +23,22 @@ xdg-shell-protocol.c:
xdg-shell-protocol.o: xdg-shell-protocol.h
+wlr-layer-shell-unstable-v1-protocol.h:
+ $(WAYLAND_SCANNER) server-header \
+ protocols/wlr-layer-shell-unstable-v1.xml $@
+
+wlr-layer-shell-unstable-v1-protocol.c:
+ $(WAYLAND_SCANNER) private-code \
+ protocols/wlr-layer-shell-unstable-v1.xml $@
+
+wlr-layer-shell-unstable-v1-protocol.o: wlr-layer-shell-unstable-v1-protocol.h
+
config.h: | config.def.h
cp config.def.h $@
-dwl.o: config.h xdg-shell-protocol.h
+dwl.o: config.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h
-dwl: xdg-shell-protocol.o
+dwl: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o
clean:
rm -f dwl *.o xdg-shell-protocol.h xdg-shell-protocol.c