Browse Source

Makefile: run generate build step when making guardiand

This fixes bridge build in a clean checkout.
Leo 5 years ago
parent
commit
02ce58505e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -26,7 +26,7 @@ generate: dirs
 bridge: $(BIN)/guardiand
 bridge: $(BIN)/guardiand
 
 
 .PHONY: $(BIN)/guardiand
 .PHONY: $(BIN)/guardiand
-$(BIN)/guardiand: dirs
+$(BIN)/guardiand: dirs generate
 	cd bridge && go build -mod=readonly -o ../$(BIN)/guardiand github.com/certusone/wormhole/bridge
 	cd bridge && go build -mod=readonly -o ../$(BIN)/guardiand github.com/certusone/wormhole/bridge
 
 
 .PHONY: agent
 .PHONY: agent