APP=gomail PREFIX=/usr/local run: build ./$(APP) doc: godoc -http=:6090 -index build: go build install: install -m755 -- $(APP) $(PREFIX)/bin/ debs: go get ./... update-debs: go get -u ./... fmt: gofmt -l -s . clean: go clean .PHONY: run doc build install debs update-debs fmt clean