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:
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
|
||||
|
Reference in New Issue
Block a user