Merge pull request #29 from crian/patch-1

POSIX Makefile
This commit is contained in:
Luke Smith 2020-05-31 12:11:01 -04:00 committed by GitHub
commit c35edaad21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,6 @@
PREFIX ?= /usr/local .POSIX:
PREFIX = /usr/local
output: dwmblocks.o output: dwmblocks.o
gcc dwmblocks.o -lX11 -o dwmblocks gcc dwmblocks.o -lX11 -o dwmblocks
@ -12,3 +14,5 @@ install: output
chmod 755 $(DESTDIR)$(PREFIX)/bin/dwmblocks chmod 755 $(DESTDIR)$(PREFIX)/bin/dwmblocks
uninstall: uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks
.PHONY: clean install uninstall