Added chmod in Makefile to prevent execution errors
This commit is contained in:
parent
4f6b1e11f2
commit
91c492319b
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -1,9 +1,10 @@
|
|||
output: dwmblocks.o
|
||||
gcc dwmblocks.o -lX11 -o dwmblocks
|
||||
dwmblocks.o: dwmblocks.c blocks.h
|
||||
gcc -c -lX11 dwmblocks.c
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue