aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-06-21 14:36:19 -0400
committerDeterminant <[email protected]>2019-06-21 14:36:19 -0400
commit988748a02d39228017e36f7a5c3415b19b31657d (patch)
tree197a5758fc3a9e1ec00b88020d11a9d2dbbbe58b /Makefile
parent720096e3dcc84cc0ab821841fdae249a4a029758 (diff)
parentb58ed6653f5e9ccd2d52239e8a26bfc9ae4cb061 (diff)
Merge branch 'master' of github.com:Determinant/salticidae-go
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index a7a5d47..4e2b0cb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,23 @@
-.PHONY: all clean run_make
+.PHONY: all clean
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/
+ make -C salticidae/ -j4
build:
mkdir -p build
-build/test_msgnet: salticidae/libsalticidae.so test_msgnet/main.go run_make
+build/test_msgnet: salticidae/libsalticidae.so test_msgnet/main.go
+ make -C salticidae/
go build -o $@ github.com/Determinant/salticidae-go/test_msgnet
-build/test_p2p_stress: salticidae/libsalticidae.so test_p2p_stress/main.go run_make
+build/test_p2p_stress: salticidae/libsalticidae.so test_p2p_stress/main.go
+ make -C salticidae/
go build -o $@ github.com/Determinant/salticidae-go/test_p2p_stress
clean:
- rm -r build/
+ rm -rf build/
cd salticidae/; make clean
rm salticidae/CMakeCache.txt