qtile was an adventure, but dwm is still my favorite.

This commit is contained in:
Bartek Stalewski 2022-08-21 16:40:05 +02:00
parent e06858b8af
commit 27aadd0ed1
32 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,17 @@
PREFIX ?= /usr/local
CC ?= cc
LDFLAGS = -lX11
output: dwmblocks.c blocks.def.h blocks.h
${CC} dwmblocks.c $(LDFLAGS) -o dwmblocks
blocks.h:
cp blocks.def.h $@
clean:
rm -f *.o *.gch dwmblocks
install: output
mkdir -p $(DESTDIR)$(PREFIX)/bin
install -m 0755 dwmblocks $(DESTDIR)$(PREFIX)/bin/dwmblocks
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks