diff options
author | Aidan <torrinfail@gmail.com> | 2020-08-11 20:50:11 -0600 |
---|---|---|
committer | Aidan <torrinfail@gmail.com> | 2020-08-11 20:50:11 -0600 |
commit | 7e0bc3f5801ba70fcf6d5824a74e29836b2d57b7 (patch) | |
tree | ba94fff7539fe56c8ebf37a59faf2dabc545304c /Makefile | |
parent | 8893f2d08aed826532fbb7a7b63e20c5bd938563 (diff) |
added blocks.def.h to act as default blocks file so that changes made in
the future will not affect csutom blocks.h files.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 |