2019-03-24 22:36:52 +00:00
|
|
|
output: dwmblocks.o
|
|
|
|
gcc dwmblocks.o -lX11 -o dwmblocks
|
|
|
|
dwmblocks.o: dwmblocks.c blocks.h
|
2020-01-02 15:31:24 +00:00
|
|
|
gcc -c -lX11 dwmblocks.c
|
2019-03-24 22:31:05 +00:00
|
|
|
clean:
|
2019-03-24 22:36:52 +00:00
|
|
|
rm *.o *.gch dwmblocks
|
2019-03-27 00:32:08 +00:00
|
|
|
install: output
|
2019-03-25 03:53:48 +00:00
|
|
|
mkdir -p /usr/local/bin
|
|
|
|
cp -f dwmblocks /usr/local/bin
|
2020-01-02 15:31:24 +00:00
|
|
|
chmod 755 /usr/local/bin/dwmblocks
|