summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5f2bb98..3cfa764 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,11 @@
PREFIX ?= /usr/local
-output: dwmblocks.c blocks.h
+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