1
0
mirror of https://github.com/tiyn/dwmblocks.git synced 2025-10-10 01:41:24 +02:00

initial commit

This commit is contained in:
TiynGER
2020-05-28 01:52:41 +02:00
commit 2b19eb8672
5 changed files with 640 additions and 0 deletions

14
Makefile Normal file
View File

@@ -0,0 +1,14 @@
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