dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit 05883b7b2f823cf292b2f27b8ee2c542e6a8eaa7
parent feeacc88c41653937a2698fcb39a455cd41c44d8
Author: Keating950 <keating.reid@protonmail.com>
Date:   Sun, 22 Nov 2020 12:58:49 -0500

add install target to Makefile and corresponding prefix variable to config.mk

Diffstat:
MMakefile | 5+++++
Mconfig.mk | 3+++
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -53,5 +53,10 @@ dwl: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o idle-protocol.o clean: rm -f dwl *.o *-protocol.h *-protocol.c +install: dwl + mkdir -p $(PREFIX)/bin + cp -f dwl $(PREFIX)/bin + chmod 755 $(PREFIX)/bin/dwl + .DEFAULT_GOAL=dwl .PHONY: clean diff --git a/config.mk b/config.mk @@ -1,3 +1,6 @@ +# paths +PREFIX = /usr/local + # Default compile flags (overridable by environment) CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-error=unused-function