aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: fd1399baa253af1a71a5d352f70456412f5bac08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.PHONY: all clean

all: build/test_msgnet

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/

build:
	mkdir -p build

build/test_msgnet: salticidae/libsalticidae.so
	go build -o $@ salticidae-go/test_msgnet
	go build -o $@ salticidae-go/test_p2p_stress