From 35d6ada17b298a9ce51c2e432596b91d7c6c4cc3 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 14 Jun 2019 18:17:53 -0400 Subject: minor fix --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f82603c..a7a5d47 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,10 @@ -.PHONY: all clean +.PHONY: all clean run_make all: build/test_msgnet build/test_p2p_stress +run_make: + make -C salticidae/ + salticidae/libsalticidae.so: cd salticidae/; cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED=ON -DSALTICIDAE_DEBUG_LOG=OFF -DSALTICIDAE_CBINDINGS=ON -DBUILD_TEST=OFF ./ make -C salticidae/ @@ -9,9 +12,9 @@ salticidae/libsalticidae.so: build: mkdir -p build -build/test_msgnet: salticidae/libsalticidae.so test_msgnet/main.go +build/test_msgnet: salticidae/libsalticidae.so test_msgnet/main.go run_make go build -o $@ github.com/Determinant/salticidae-go/test_msgnet -build/test_p2p_stress: salticidae/libsalticidae.so test_p2p_stress/main.go +build/test_p2p_stress: salticidae/libsalticidae.so test_p2p_stress/main.go run_make go build -o $@ github.com/Determinant/salticidae-go/test_p2p_stress clean: -- cgit v1.2.3-70-g09d2