summaryrefslogtreecommitdiff
path: root/Makefile
blob: 695d12386a820e88d140c08980e9ab7855b6b903 (plain)
1
2
3
4
5
6
7
8
9
output: dwmblocks.o
	gcc dwmblocks.o -lX11 -o dwmblocks
dwmblocks.o: dwmblocks.c blocks.h
	gcc -c -lX11 dwmblocks.c 
clean:
	rm -f *.o *.gch dwmblocks
install: output
	mkdir -p /usr/local/bin
	cp -f dwmblocks /usr/local/bin