diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 | 
1 files changed, 6 insertions, 6 deletions
| @@ -1,6 +1,6 @@  include config.mk -CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 +CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 -pedantic  WAYLAND_PROTOCOLS=$(shell pkg-config --variable=pkgdatadir wayland-protocols)  WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner) @@ -15,11 +15,11 @@ clean:  	rm -f dwl *.o *-protocol.h *-protocol.c  install: dwl -	install -Dm755 dwl $(PREFIX)/bin/dwl -	install -Dm644 dwl.1 $(MANDIR)/man1/dwl.1 +	install -Dm755 dwl $(DESTDIR)$(PREFIX)/bin/dwl +	install -Dm644 dwl.1 $(DESTDIR)$(MANDIR)/man1/dwl.1  uninstall: -	rm -f $(PREFIX)/bin/dwl $(MANDIR)/man1/dwl.1 +	rm -f $(DESTDIR)$(PREFIX)/bin/dwl $(DESTDIR)$(MANDIR)/man1/dwl.1  .PHONY: all clean install uninstall @@ -59,6 +59,6 @@ idle-protocol.o: idle-protocol.h  config.h: | config.def.h  	cp config.def.h $@ -dwl.o: config.mk config.h client.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h idle-protocol.h +dwl.o: config.mk config.h client.h xdg-shell-protocol.h wlr-layer-shell-unstable-v1-protocol.h idle-protocol.h util.h -dwl: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o idle-protocol.o +dwl: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o idle-protocol.o util.o | 
