added blocks.def.h to act as default blocks file so that changes made in
the future will not affect csutom blocks.h files.
This commit is contained in:
parent
8893f2d08a
commit
7e0bc3f580
4 changed files with 20 additions and 23 deletions
10
Makefile
10
Makefile
|
@ -1,7 +1,11 @@
|
|||
PREFIX ?= /usr/local
|
||||
CC ?= cc
|
||||
output: dwmblocks.c blocks.h
|
||||
${CC} dwmblocks.c `pkg-config --cflags x11` `pkg-config --libs x11` -o dwmblocks
|
||||
|
||||
output: dwmblocks.c blocks.def.h blocks.h
|
||||
cc `pkg-config --cflags x11` `pkg-config --libs x11` dwmblocks.c -o dwmblocks
|
||||
blocks.h:
|
||||
cp blocks.def.h $@
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.o *.gch dwmblocks
|
||||
install: output
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue