From 88f5b41ab771dd9c9c17a5564c3f94cbb86cfe28 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Tue, 9 Jul 2024 18:51:40 +0800 Subject: [PATCH] standard build dir --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6709cf0..3895efa 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ # go-ethereum import conflicts ALL := dumpdiff.geth dumpdiff.plugeth dumpdiff.plugeth-parallel +BUILD_DIR := ./build dumpdiff.geth: dumpdiff-geth/* cd dumpdiff-geth && go build -tags geth -o ../$@ . @@ -13,13 +14,13 @@ dumpdiff.plugeth-parallel: cd dumpdiff-plugeth-parallel && go build -tags plugeth_parallel -o ../$@ . clean: - rm -rf $(ALL) _var + rm -rf $(ALL) $(BUILD_DIR) compare-plugeth: dumpdiff.geth dumpdiff.plugeth - ./scripts/compare-diffs.sh -d _var/ geth plugeth + ./scripts/compare-diffs.sh -d $(BUILD_DIR)/ geth plugeth compare-plugeth-parallel: dumpdiff.geth dumpdiff.plugeth-parallel - ./scripts/compare-diffs.sh -d _var/ geth plugeth-parallel + ./scripts/compare-diffs.sh -d $(BUILD_DIR)/ geth plugeth-parallel test: compare-plugeth compare-plugeth-parallel