# Note: Top-level package code is shared, but commands are in separate modules to prevent # 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 ../$@ . dumpdiff.plugeth: cd dumpdiff-plugeth && go build -tags plugeth -o ../$@ . dumpdiff.plugeth-parallel: cd dumpdiff-plugeth-parallel && go build -tags plugeth_parallel -o ../$@ . clean: rm -rf $(ALL) $(BUILD_DIR) compare-plugeth: dumpdiff.geth dumpdiff.plugeth ./scripts/compare-diffs.sh -d $(BUILD_DIR)/ geth plugeth compare-plugeth-parallel: dumpdiff.geth dumpdiff.plugeth-parallel ./scripts/compare-diffs.sh -d $(BUILD_DIR)/ geth plugeth-parallel test: compare-plugeth compare-plugeth-parallel all: $(ALL) .PHONY: all