aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 8a83718ab7b03566b87095a5c3e76e80c2acccfc (plain) (tree)
1
2
3
4
5
6

                 
                                            

                            
                                                                                                                                                    






                                                
                                                  
                                                    
.PHONY: all clean

all: build/test_msgnet build/test_p2p_stress

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
build/test_p2p_stress: salticidae/libsalticidae.so
	go build -o $@ salticidae-go/test_p2p_stress