dwl

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

commit 8dd99d2a1030d9485919362b078853c74eb183aa
parent e0f11abd138515cf35bd361b524f10e169236a59
Author: Devin J. Pohly <djpohly@gmail.com>
Date:   Thu, 24 Dec 2020 19:07:08 -0500

Merge pull request #65 from Keating950/master

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

diff --git a/Makefile b/Makefile @@ -33,5 +33,10 @@ dwl: xdg-shell-protocol.o clean: rm -f dwl *.o xdg-shell-protocol.h xdg-shell-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