Add 'make install' target

Signed-off-by: Manfred Touron <m@42.am>
This commit is contained in:
Manfred Touron 2016-09-28 10:14:36 +02:00
parent 92f0c24d5b
commit 037503a6fd
No known key found for this signature in database
GPG Key ID: 9CCF47DF1FD978A1
1 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,11 @@ all: build
build: $(BINARIES) build: $(BINARIES)
.PHONY: install
install:
$(GO) install ./cmd/gotty-client
$(BINARIES): $(SOURCES) $(BINARIES): $(SOURCES)
$(GO) build -o $@ ./cmd/$@ $(GO) build -o $@ ./cmd/$@