mirror of https://github.com/tiyn/dwmblocks
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
360 B
15 lines
360 B
5 years ago
|
PREFIX ?= /usr/local
|
||
|
|
||
|
output: dwmblocks.o
|
||
|
gcc dwmblocks.o -lX11 -o dwmblocks
|
||
|
dwmblocks.o: dwmblocks.c config.h
|
||
|
gcc -c -lX11 dwmblocks.c
|
||
|
clean:
|
||
|
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
|