forked from github/lukesmith-dwmblocks
POSIX Makefile
This commit is contained in:
parent
9a7ecafdcc
commit
b259b140a3
6
Makefile
6
Makefile
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user