diff options
author | sijanec <anton@sijanec.eu> | 2021-01-11 23:16:27 +0100 |
---|---|---|
committer | sijanec <anton@sijanec.eu> | 2021-01-11 23:16:27 +0100 |
commit | 89e09d7703fabac24b94022ca6bc523786c13d84 (patch) | |
tree | 4165c25bbf56988df84aadf563cc25c4f0338cc9 /Makefile | |
parent | 0.1.0 različica (diff) | |
download | rtv4d-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 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 |