diff options
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 |