diff options
| author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-04-04 10:50:21 -0600 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-04-04 10:50:21 -0600 | 
| commit | 72e2ce8b00995d5925786043dd2910c27722c375 (patch) | |
| tree | 0e754e13602b8d760d2b4e2f6b0548a6dcadb16c /Makefile | |
| parent | a0117eea76ce5ca5e6660f5a6f0057e29f268d41 (diff) | |
| parent | dd00d994ce4c53829d0b871622dc05e90a6f58c3 (diff) | |
Merge remote-tracking branch 'upstream/main' into wlroots-next
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 | 
1 files changed, 8 insertions, 5 deletions
| @@ -16,7 +16,7 @@ LDLIBS    = `$(PKG_CONFIG) --libs $(PKGS)` $(LIBS)  all: dwl  dwl: dwl.o util.o  	$(CC) dwl.o util.o $(LDLIBS) $(LDFLAGS) $(DWLCFLAGS) -o $@ -dwl.o: dwl.c config.mk config.h client.h cursor-shape-v1-protocol.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h +dwl.o: dwl.c config.mk config.h client.h cursor-shape-v1-protocol.h pointer-constraints-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.h xdg-shell-protocol.h  util.o: util.c util.h  # wayland-scanner is a tool which generates C headers and rigging for Wayland @@ -25,15 +25,18 @@ util.o: util.c util.h  WAYLAND_SCANNER   = `$(PKG_CONFIG) --variable=wayland_scanner wayland-scanner`  WAYLAND_PROTOCOLS = `$(PKG_CONFIG) --variable=pkgdatadir wayland-protocols` -xdg-shell-protocol.h: +cursor-shape-v1-protocol.h:  	$(WAYLAND_SCANNER) server-header \ -		$(WAYLAND_PROTOCOLS)/stable/xdg-shell/xdg-shell.xml $@ +		$(WAYLAND_PROTOCOLS)/staging/cursor-shape/cursor-shape-v1.xml $@ +pointer-constraints-unstable-v1-protocol.h: +	$(WAYLAND_SCANNER) server-header \ +		$(WAYLAND_PROTOCOLS)/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml $@  wlr-layer-shell-unstable-v1-protocol.h:  	$(WAYLAND_SCANNER) server-header \  		protocols/wlr-layer-shell-unstable-v1.xml $@ -cursor-shape-v1-protocol.h: +xdg-shell-protocol.h:  	$(WAYLAND_SCANNER) server-header \ -		$(WAYLAND_PROTOCOLS)/staging/cursor-shape/cursor-shape-v1.xml $@ +		$(WAYLAND_PROTOCOLS)/stable/xdg-shell/xdg-shell.xml $@  config.h:  	cp config.def.h $@ | 
