summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 350fd4b..e6cd85a 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,8 @@ all:
# Then:
protoc --version
make droplet.pb.go
+ make hypervisor.pb.go
+ make cluster.pb.go
cd configfile && make
vet:
@@ -43,10 +45,16 @@ droplet.pb.go: droplet.proto
--go_opt=Mdroplet.proto=go.wit.com/lib/protobuf/virtbuf \
droplet.proto
+hypervisor.pb.go: hypervisor.proto
+ cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/virtbuf \
+ --go_opt=Mhypervisor.proto=go.wit.com/lib/protobuf/virtbuf \
+ hypervisor.proto
+
cluster.pb.go: cluster.proto
cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/virtbuf \
--go_opt=Mdroplet.proto=go.wit.com/lib/protobuf/virtbuf \
--go_opt=Mcluster.proto=go.wit.com/lib/protobuf/virtbuf \
+ --go_opt=Mhypervisor.proto=go.wit.com/lib/protobuf/virtbuf \
cluster.proto