From 05df9201b3815b7cd8d639850513b80689dd6bfe Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Mon, 24 Aug 2020 07:04:34 +0200 Subject: layer shell initial attempt --- Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3 From d61658bdd7704267ef7c6ffd7b965cfa8abdb445 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Wed, 26 Aug 2020 21:01:03 +0200 Subject: update make clean --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8022c9b..10c84b1 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ dwl.o: config.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h 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 xdg-shell-protocol.h xdg-shell-protocol.c wlr-layer-shell-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.c .DEFAULT_GOAL=dwl .PHONY: clean -- cgit v1.2.3 From b237ea0e45cf9f4abfb35d7af609a4d0a7d1218f Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Fri, 28 Aug 2020 15:17:38 +0200 Subject: simplify make clean --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 10c84b1..3dc2336 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ dwl.o: config.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h 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 wlr-layer-shell-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.c + rm -f dwl *.o *-protocol.h *-protocol.c .DEFAULT_GOAL=dwl .PHONY: clean -- cgit v1.2.3