diff --git a/Makefile b/Makefile index 7a7be3d..e654100 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ VERSION_LDFLAGS=-X github.com/omniscale/imposm3.Version=$(BUILD_VERSION) all: build test -imposm: $(PBGOFILES) $(GOFILES) +imposm: $(GOFILES) $(GO) build $(GOTAGS) $(GOLDFLAGS) ./cmd/imposm build: imposm @@ -52,6 +52,8 @@ test-system: imposm system-test-files: (cd test && make files) +regen-protobuf: $(PBGOFILES) + %.pb.go: %.proto protoc --proto_path=$(GOPATH)/src:$(GOPATH)/src/github.com/omniscale/imposm3/vendor/github.com/gogo/protobuf/protobuf:. --gogofaster_out=. $^