Add dwm blocks
This commit is contained in:
17
.suckless/dwmblocks/Makefile
Normal file
17
.suckless/dwmblocks/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
PREFIX ?= /usr/local
|
||||
CC ?= cc
|
||||
LDFLAGS = -lX11
|
||||
|
||||
output: dwmblocks.c blocks.h
|
||||
${CC} dwmblocks.c $(LDFLAGS) -o dwmblocks
|
||||
blocks.h:
|
||||
cp blocks.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
|
||||
Reference in New Issue
Block a user