2fcb7c1d8c
Standardized function naming, and added more consistent methods to prevent memory allocation errors.
27 lines
490 B
Makefile
27 lines
490 B
Makefile
|
|
DEBUG = true
|
|
export DEBUG
|
|
|
|
OBJS = crypto/rsa.o crypto/sha256.o crypto/encoding/base58.o crypto/encoding/base64.o \
|
|
crypto/encoding/x509.o thirdparty/mbedtls/*.o crypto/encoding/base16.o \
|
|
hashmap/hashmap.o
|
|
|
|
|
|
compile:
|
|
cd crypto; make all;
|
|
cd thirdparty; make all;
|
|
cd hashmap; make all;
|
|
ar rcs libp2p.a $(OBJS)
|
|
|
|
test: compile
|
|
cd test; make all;
|
|
|
|
all: test
|
|
|
|
clean:
|
|
cd crypto; make clean;
|
|
cd hashmap; make clean;
|
|
cd thirdparty; make clean
|
|
cd test; make clean;
|
|
rm -rf libp2p.a
|
|
|