makefile: add install recipe

This commit is contained in:
Kied Llaentenn 2019-12-13 09:43:38 -05:00
parent be25d30069
commit a7b012c086

View File

@ -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