diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-22 00:31:50 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-22 00:31:50 +0200 |
| commit | fe21a175760856b64fa11083d7bc98e00db659a2 (patch) | |
| tree | ee40037b8cbb6bdf999ab8100ac3c516185ed345 /Makefile | |
| parent | cb839522902d3db508c34703a385baabfdd9baa5 (diff) | |
use ext-session-lock protocol
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
@@ -1,23 +1,17 @@ include config.mk -PROTOCOLS = wlr-layer-shell-protocol.c xdg-shell-protocol.c +PROTOCOLS = ext-session-lock-protocol.c SRC = wlock.c util.c drw.c wayland.c OBJ = ${SRC:.c=.o} ${PROTOCOLS:.c=.o} -WLR_LAYER_SHELL = ./protocols/wlr-layer-shell-unstable.xml default_target: wlock -wlr-layer-shell-protocol.h: - wayland-scanner client-header < ${WLR_LAYER_SHELL} > $@ +ext-session-lock-protocol.h: + wayland-scanner client-header < ${EXT_SESSION_LOCK} > $@ -wlr-layer-shell-protocol.c: wlr-layer-shell-protocol.h - wayland-scanner private-code < ${WLR_LAYER_SHELL} > $@ +ext-session-lock-protocol.c: ext-session-lock-protocol.h + wayland-scanner private-code < ${EXT_SESSION_LOCK} > $@ -xdg-shell-protocol.h: - wayland-scanner client-header < ${XDG_SHELL} > $@ - -xdg-shell-protocol.c: xdg-shell-protocol.h - wayland-scanner private-code < ${XDG_SHELL} > $@ .c.o: ${CC} -c $< ${CPPFLAGS} |