aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 0333d7ec8d5e9261a17d6f5b751eb79ae8c0250f (plain)
1
2
3
4
5
6
7
8
9
10
output: dwmblocks.o
	gcc dwmblocks.o -lX11 -o dwmblocks
dwmblocks.o: dwmblocks.c config.h
	gcc -c -lX11 dwmblocks.c
clean:
	rm *.o *.gch dwmblocks
install: output
	mkdir -p /usr/local/bin
	cp -f dwmblocks /usr/local/bin
	chmod 755 /usr/local/bin/dwmblocks