diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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: |