dwmblocks

modular dwm statusbar
git clone git://git.benoneill.xyz/dwmblocks
Log | Files | Refs | README | LICENSE

commit 28b88a23c5fae158855094df052bbdf74d48a66c
parent 31de42407b05bc11d8acd2ef3a2e5585bc0f45b6
Author: Ben O'Neill <ben@benoneill.xyz>
Date:   Mon, 23 Mar 2020 15:25:40 -0400

Fix Makefile

Diffstat:
MMakefile | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

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