POSIX Makefile

This commit is contained in:
Christian S 2020-05-31 17:59:42 +02:00 committed by GitHub
parent 9a7ecafdcc
commit b259b140a3
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
gcc dwmblocks.o -lX11 -o dwmblocks
@ -12,3 +14,5 @@ install: output
chmod 755 $(DESTDIR)$(PREFIX)/bin/dwmblocks
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks
.PHONY: clean install uninstall