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:
Aidan
2020-08-11 20:50:11 -06:00
parent 8893f2d08a
commit 7e0bc3f580
4 changed files with 20 additions and 23 deletions

View File

@ -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