fe16d9a110
remove blocks.h
18 lines
371 B
Makefile
18 lines
371 B
Makefile
PREFIX ?= /usr/local
|
|
CC ?= cc
|
|
LDFLAGS = -lX11
|
|
|
|
output: dwmblocks.c blocks.def.h blocks.h
|
|
${CC} dwmblocks.c $(LDFLAGS) -o dwmblocks
|
|
blocks.h:
|
|
cp blocks.def.h $@
|
|
|
|
|
|
clean:
|
|
rm -f blocks.h *.o *.gch dwmblocks
|
|
install: output
|
|
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
|
install -m 0755 dwmblocks $(DESTDIR)$(PREFIX)/bin/dwmblocks
|
|
uninstall:
|
|
rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks
|