makefile: install recipe

This commit is contained in:
Kied Llaentenn 2019-12-13 16:53:39 -05:00
parent 6180a4b65f
commit e38315c816

View File

@ -36,6 +36,7 @@ $(NAME): $(OBJ) $(TRMBOX)
@$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) @$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)
install: $(NAME) install: $(NAME)
install -m755 ./$(NAME) /usr/bin/$(NAME) @echo "\tINSTALL\t$(NAME)\t/usr/bin/$(NAME)"
@install -m755 ./$(NAME) /usr/bin/$(NAME)
.PHONY: all clean install .PHONY: all clean install