Initial commit for build of dwmblocks
This commit is contained in:
commit
e60906dbc6
14 changed files with 416 additions and 0 deletions
17
Makefile
Normal file
17
Makefile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue