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:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,3 +1,6 @@
|
||||
# Custom blocks file
|
||||
blocks.h
|
||||
|
||||
# Prerequisites
|
||||
*.d
|
||||
|
||||
|
||||
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 $@
|
||||
|
||||