fix dependencies

This commit is contained in:
Stephen McQuay 2018-01-16 21:04:29 -08:00
parent a174bcaa72
commit a9eabe4d43
Signed by: sm
GPG Key ID: 4E4B72F479BA3CE5
1 changed files with 4 additions and 2 deletions

View File

@ -3,12 +3,14 @@ rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst
default: ${GOPATH}/bin/hwtd ${GOPATH}/bin/hwtc
${GOPATH}/bin/hwtd: $(call rwildcard,,*.go)
${GOPATH}/bin/hwtd: $(call rwildcard,,*.go) hwt.go
go install -v mcquay.me/hwt/cmd/hwtd
${GOPATH}/bin/hwtc: $(call rwildcard,,*.go)
${GOPATH}/bin/hwtc: $(call rwildcard,,*.go) hwt.go
go install -v mcquay.me/hwt/cmd/hwtc
hwt.go: service.twirp.go service.pb.go
service.twirp.go: service.proto
protoc --proto_path=${GOPATH}/src:. --twirp_out=. --go_out=. ./service.proto