dwmblocks

My clickable dwmblocks build
Log | Files | Refs | README | LICENSE

commit 8b313712dc8000ce65b229e3089f429bc9fc8cd9
parent d3eed011269519dca2364e480bf32105b1dfd0d9
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Wed,  5 Aug 2020 07:57:53 -0400

Merge pull request #46 from ryanm0/master

Makefile improvements
Diffstat:
MMakefile | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,14 +1,15 @@ .POSIX: PREFIX = /usr/local +CC = gcc -output: dwmblocks.o - gcc dwmblocks.o -lX11 -o dwmblocks +dwmblocks: dwmblocks.o + $(CC) dwmblocks.o -lX11 -o dwmblocks dwmblocks.o: dwmblocks.c config.h - gcc -c -lX11 dwmblocks.c + $(CC) -c dwmblocks.c clean: rm -f *.o *.gch dwmblocks -install: output +install: dwmblocks mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f dwmblocks $(DESTDIR)$(PREFIX)/bin chmod 755 $(DESTDIR)$(PREFIX)/bin/dwmblocks