2016-11-10 13:08:22 +00:00
|
|
|
|
|
|
|
DEBUG = true
|
|
|
|
export DEBUG
|
|
|
|
|
2016-11-10 17:04:48 +00:00
|
|
|
OBJS = crypto/rsa.o crypto/encoding/base58.o crypto/encoding/base64.o \
|
2016-11-14 01:55:11 +00:00
|
|
|
crypto/encoding/x509.o thirdparty/mbedtls/*.o crypto/encoding/base16.o
|
2016-11-07 21:34:08 +00:00
|
|
|
|
|
|
|
|
2016-11-09 16:22:25 +00:00
|
|
|
compile:
|
2016-11-07 21:34:08 +00:00
|
|
|
cd crypto; make all;
|
|
|
|
cd thirdparty; make all;
|
|
|
|
ar rcs libp2p.a $(OBJS)
|
|
|
|
|
2016-11-09 16:22:25 +00:00
|
|
|
test: compile
|
|
|
|
cd test; make all;
|
|
|
|
|
|
|
|
all: test
|
|
|
|
|
2016-11-07 21:34:08 +00:00
|
|
|
clean:
|
|
|
|
cd crypto; make clean;
|
|
|
|
cd thirdparty; make clean
|
2016-11-09 16:22:25 +00:00
|
|
|
cd test; make clean;
|
2016-11-07 21:34:08 +00:00
|
|
|
rm -rf libp2p.a
|
2016-11-10 13:08:22 +00:00
|
|
|
|