diff options
| author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-06-20 22:44:50 -0600 | 
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-06-20 22:44:50 -0600 | 
| commit | 4cf1d604b8912fdd5854f4a1d981cdfc5955b890 (patch) | |
| tree | 2840a38f59f3d84025658023e81fcb819da3aefe /Makefile | |
| parent | a8403d7b4d54e30699424586784cc0265b29d08d (diff) | |
| parent | 650a918010ac5769787d461812392cff786e4d3b (diff) | |
Merge remote-tracking branch 'upstream/main' into wlroots-next
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 | 
1 files changed, 6 insertions, 3 deletions
| @@ -15,8 +15,8 @@ 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 pointer-constraints-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.h xdg-shell-protocol.h +	$(CC) dwl.o util.o $(DWLCFLAGS) $(LDFLAGS) $(LDLIBS) -o $@ +dwl.o: dwl.c client.h config.h config.mk cursor-shape-v1-protocol.h pointer-constraints-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.h wlr-output-power-management-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 @@ -34,6 +34,9 @@ pointer-constraints-unstable-v1-protocol.h:  wlr-layer-shell-unstable-v1-protocol.h:  	$(WAYLAND_SCANNER) enum-header \  		protocols/wlr-layer-shell-unstable-v1.xml $@ +wlr-output-power-management-unstable-v1-protocol.h: +	$(WAYLAND_SCANNER) server-header \ +		protocols/wlr-output-power-management-unstable-v1.xml $@  xdg-shell-protocol.h:  	$(WAYLAND_SCANNER) server-header \  		$(WAYLAND_PROTOCOLS)/stable/xdg-shell/xdg-shell.xml $@ @@ -66,4 +69,4 @@ uninstall:  .SUFFIXES: .c .o  .c.o: -	$(CC) $(CPPFLAGS) $(DWLCFLAGS) -c $< +	$(CC) $(CPPFLAGS) $(DWLCFLAGS) -o $@ -c $< | 
