Ver Fonte

Makefile: run generate build step when making guardiand

This fixes bridge build in a clean checkout.
Leo há 5 anos atrás
pai
commit
02ce58505e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -26,7 +26,7 @@ generate: dirs
 bridge: $(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
 
 .PHONY: agent