dwmblocks/Makefile

19 lines
401 B
Makefile
Raw Normal View History

2020-05-31 15:59:42 +00:00
.POSIX:
PREFIX = /usr/local
output: dwmblocks.o
gcc dwmblocks.o -lX11 -o dwmblocks
2020-03-01 12:01:56 +00:00
dwmblocks.o: dwmblocks.c config.h
gcc -c -lX11 dwmblocks.c
2019-03-24 22:31:05 +00:00
clean:
2020-04-08 15:06:01 +00:00
rm -f *.o *.gch dwmblocks
install: output
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f dwmblocks $(DESTDIR)$(PREFIX)/bin
chmod 755 $(DESTDIR)$(PREFIX)/bin/dwmblocks
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks
2020-05-31 15:59:42 +00:00
.PHONY: clean install uninstall