summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-01-11 23:16:27 +0100
committersijanec <anton@sijanec.eu>2021-01-11 23:16:27 +0100
commit89e09d7703fabac24b94022ca6bc523786c13d84 (patch)
tree4165c25bbf56988df84aadf563cc25c4f0338cc9 /Makefile
parent0.1.0 različica (diff)
downloadrtv4d-dl-89e09d7703fabac24b94022ca6bc523786c13d84.tar
rtv4d-dl-89e09d7703fabac24b94022ca6bc523786c13d84.tar.gz
rtv4d-dl-89e09d7703fabac24b94022ca6bc523786c13d84.tar.bz2
rtv4d-dl-89e09d7703fabac24b94022ca6bc523786c13d84.tar.lz
rtv4d-dl-89e09d7703fabac24b94022ca6bc523786c13d84.tar.xz
rtv4d-dl-89e09d7703fabac24b94022ca6bc523786c13d84.tar.zst
rtv4d-dl-89e09d7703fabac24b94022ca6bc523786c13d84.zip
Diffstat (limited to '')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index b49ead1..4d492c8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
-default:
- @echo \ \ \ \ \*\*\* rtv4d-dl Makefile - kratka navodila za namestitev \*\*\*
- @echo - če še niste, preberite README.md in se pozanimajte o uporabi
- @echo - če še niste, z \`make compile\` izdelajte binarne programe
- @echo - če še niste, z \`make install\` namesti v ~/.local/bin/ prej compilej!
- @echo to je vse, hvala.
+DESTDIR=/usr/local/bin/
-compile:
+default:
gcc rtv4d-dl.c -o rtv4d-dl -Wall -lm -I.
install:
- mkdir -p ~/.local/bin
- -cp ./rtv4d-dl ~/.local/bin/
+ cp rtv4d-dl $(DESTDIR)
+
+distclean:
+ rm rtv4d-dl
+
+clean:
+ rm rtv4d-dl