Added chmod in Makefile to prevent execution errors

This commit is contained in:
Mr Chainman 2020-01-02 16:31:24 +01:00
parent 4f6b1e11f2
commit 91c492319b
No known key found for this signature in database
GPG key ID: 3A782BCA8E54519F

View file

@ -1,9 +1,10 @@
output: dwmblocks.o output: dwmblocks.o
gcc dwmblocks.o -lX11 -o dwmblocks gcc dwmblocks.o -lX11 -o dwmblocks
dwmblocks.o: dwmblocks.c blocks.h dwmblocks.o: dwmblocks.c blocks.h
gcc -c -lX11 dwmblocks.c gcc -c -lX11 dwmblocks.c
clean: clean:
rm *.o *.gch dwmblocks rm *.o *.gch dwmblocks
install: output install: output
mkdir -p /usr/local/bin mkdir -p /usr/local/bin
cp -f dwmblocks /usr/local/bin cp -f dwmblocks /usr/local/bin
chmod 755 /usr/local/bin/dwmblocks