Add make install target
1 files changed, 6 insertions(+), 1 deletions(-) M Makefile
M Makefile => Makefile +6 -1
@@ 1,6 1,7 @@ NAME=hodhod BINDIR ?= . SRC != find . -name '*.go' ! -name '*_test.go' INSTALL_DIR ?= /usr/local/bin # Force using go's builtin dns resolver, instead of the system one, in order to @@ # produce a nice, clean, statically-linked executable! 14,7 15,11 @@ all: $(NAME) release: $(NAME) strip $(NAME) install: mkdir -p $(INSTALL_DIR) install $(BINDIR)/$(NAME) $(INSTALL_DIR) clean: rm -f $(BINDIR)/$(NAME) .PHONY: all clean .PHONY: all clean install