From 963338a94314bce8c6efd04137e124b34a624a0b Mon Sep 17 00:00:00 2001 From: Hein Meling Date: Tue, 24 Dec 2024 21:02:38 +0100 Subject: [PATCH] feat(latencygen): added wonderproxy and aws targets in Makefile --- Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 82a99b49..b65bd9ed 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,9 @@ gorums_go := internal/proto/clientpb/client_gorums.pb.go \ binaries := hotstuff plot -.PHONY: all latencies debug clean protos download tools $(binaries) +CSV ?= wonderproxy.csv + +.PHONY: all aws wonderproxy latencies debug clean protos download tools $(binaries) all: $(binaries) @@ -39,7 +41,14 @@ clean: @rm -fv $(binaries) latencies: - @go run cmd/latencygen/main.go -file wonderproxy.csv + @echo "Generating Latency Matrix using $(CSV)" + @go run cmd/latencygen/main.go -file "$(CSV)" + +wonderproxy: + @$(MAKE) latencies CSV=wonderproxy.csv + +aws: + @$(MAKE) latencies CSV=aws.csv %.pb.go %_gorums.pb.go : %.proto protoc -I=.:$(proto_include) \