aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-12-24 20:24:14 -0500
committerGitHub <noreply@github.com>2020-12-24 20:24:14 -0500
commit62529e251dd04f526063c1c574122ecfbabb709f (patch)
tree6e664fa62eb6cbf0b58a852f008d3a0bb3438585 /Makefile
parent41d7fdbd604ebb28a9ba01ba1662c70e9d72135c (diff)
parent0bb25a73ecfbf4c8f613e1a1b96be5ea683bf12a (diff)
Merge pull request #49 from guidocella/layer-shell
Layer shell
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b34b909..41d2def 100644
--- a/Makefile
+++ b/Makefile
@@ -23,15 +23,25 @@ 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
+ rm -f dwl *.o *-protocol.h *-protocol.c
install: dwl
install -D dwl $(PREFIX)/bin/dwl