diff --git a/Makefile b/Makefile index 7f471e9..6243270 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,11 @@ -yt_download: - gcc -ansi -I . -L. -ggdb -o yt_download yt_download.c -Wl,-Bstatic -lstrops -Wl,-Bdynamic +.POSIX: +yt_download: yt_download.c + gcc -ansi -O2 -o yt_download yt_download.c -lstrops + +.PHONY: install uninstall + +install: yt_download + sudo mv yt_download /usr/local/bin + +uninstall: + sudo rm /usr/local/bin/yt_download