瀏覽代碼

Makefile: run generate build step when making guardiand

This fixes bridge build in a clean checkout.
Leo 5 年之前
父節點
當前提交
02ce58505e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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