blob: 5cb488fb42a6c94f374a407d1561df6ea2a40064 (
plain) (
tree)
|
|
.PHONY: all clean
all: build/test_msgnet build/test_p2p_stress build/test_msgnet_tls build/bench_network
build/libsalticidae.a: build
scripts/build.sh
build:
mkdir -p build
build/test_msgnet: build/libsalticidae.a test_msgnet/main.go
source scripts/env.sh && go build -o $@ github.com/Determinant/salticidae-go/test_msgnet
build/test_msgnet_tls: build/libsalticidae.a test_msgnet_tls/main.go
source scripts/env.sh && go build -o $@ github.com/Determinant/salticidae-go/test_msgnet_tls
build/test_p2p_stress: build/libsalticidae.a test_p2p_stress/main.go
source scripts/env.sh && go build -o $@ github.com/Determinant/salticidae-go/test_p2p_stress
build/bench_network: build/libsalticidae.a bench_network/main.go
source scripts/env.sh && go build -o $@ github.com/Determinant/salticidae-go/bench_network
clean:
rm -rf build/
scripts/clean.sh
|