change dwm backend to somebar
This commit is contained in:
parent
96cbb453e5
commit
d432a2a0fe
5 changed files with 52 additions and 57 deletions
11
Makefile
11
Makefile
|
|
@ -1,17 +1,16 @@
|
|||
PREFIX ?= /usr/local
|
||||
CC ?= cc
|
||||
LDFLAGS = -lX11
|
||||
|
||||
output: dwmblocks.c blocks.def.h blocks.h
|
||||
${CC} dwmblocks.c $(LDFLAGS) -o dwmblocks
|
||||
output: someblocks.c blocks.def.h blocks.h
|
||||
${CC} someblocks.c $(LDFLAGS) -o someblocks
|
||||
blocks.h:
|
||||
cp blocks.def.h $@
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.o *.gch dwmblocks
|
||||
rm -f *.o *.gch someblocks
|
||||
install: output
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
install -m 0755 dwmblocks $(DESTDIR)$(PREFIX)/bin/dwmblocks
|
||||
install -m 0755 someblocks $(DESTDIR)$(PREFIX)/bin/someblocks
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/someblocks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue