Merge pull request #65 from Keating950/master

Add install target to Makefile
This commit is contained in:
Devin J. Pohly
2020-12-24 19:07:08 -05:00
committed by GitHub
2 changed files with 8 additions and 0 deletions

View File

@@ -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