diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-03-14 20:49:19 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-03-14 20:49:19 -0400 |
commit | 642120069c676dda5a18462801735fecab80b249 (patch) | |
tree | 98e6bcfe9c6b3f7307490ebcf569c0709fc4cc0d | |
parent | 65b447334f13d7c134cc6fe8ad96469815133ff3 (diff) | |
parent | 8d8c208ac81a773825323f534448613f47877bf1 (diff) | |
download | dwmblocks-642120069c676dda5a18462801735fecab80b249.tar.gz dwmblocks-642120069c676dda5a18462801735fecab80b249.tar.bz2 dwmblocks-642120069c676dda5a18462801735fecab80b249.zip |
Merge branch 'master' of github.com:LukeSmithxyz/dwmblocks
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,5 @@ +PREFIX ?= /usr/local + output: dwmblocks.o gcc dwmblocks.o -lX11 -o dwmblocks dwmblocks.o: dwmblocks.c config.h @@ -5,6 +7,8 @@ dwmblocks.o: dwmblocks.c config.h clean: rm *.o *.gch dwmblocks install: output - mkdir -p /usr/local/bin - cp -f dwmblocks /usr/local/bin - chmod 755 /usr/local/bin/dwmblocks + mkdir -p $(DESTDIR)$(PREFIX)/bin + cp -f dwmblocks $(DESTDIR)$(PREFIX)/bin + chmod 755 $(DESTDIR)$(PREFIX)/bin/dwmblocks +uninstall: + rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks |