From a7b012c086c3dcbfd15a2c7e89f6f451f600ce6b Mon Sep 17 00:00:00 2001 From: Kied Llaentenn <32681240+Kiedtl@users.noreply.github.com> Date: Fri, 13 Dec 2019 09:43:38 -0500 Subject: [PATCH] makefile: add install recipe --- makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index e2de510..52bc547 100644 --- a/makefile +++ b/makefile @@ -35,4 +35,7 @@ $(NAME): $(OBJ) $(TRMBOX) @echo "\tLD\t\t$(NAME)" @$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) -.PHONY: all clean +install: $(NAME) + install -m755 ./$(NAME) /usr/bin/$(NAME) + +.PHONY: all clean install