From dc47073875112c1cb6d4a23c5cd631cad314d105 Mon Sep 17 00:00:00 2001 From: GrenderG Date: Tue, 11 Apr 2017 02:21:29 +0200 Subject: [PATCH] Added 'make install' option. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 6e321f1..a9d5122 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,6 @@ tte: tte.c $(CC) tte.c -o tte -Wall -Wextra -pedantic -std=c99 + +install: tte + sudo cp tte /usr/local/bin/ + sudo chmod +x /usr/local/bin/