2016-11-10 13:08:22 +00:00
|
|
|
|
|
|
|
DEBUG = true
|
|
|
|
export DEBUG
|
|
|
|
|
2017-02-02 19:10:12 +00:00
|
|
|
OBJS = crypto/*.o crypto/encoding/*.o \
|
|
|
|
thirdparty/mbedtls/*.o \
|
|
|
|
hashmap/hashmap.o \
|
|
|
|
net/*.o \
|
|
|
|
record/*.o \
|
|
|
|
routing/*.o \
|
2017-02-06 22:11:22 +00:00
|
|
|
secio/*.o \
|
|
|
|
utils/*.o
|
2016-11-07 21:34:08 +00:00
|
|
|
|
2017-02-06 22:11:22 +00:00
|
|
|
link:
|
2017-02-02 19:10:12 +00:00
|
|
|
ar rcs libp2p.a $(OBJS)
|
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;
|
2016-11-17 20:06:53 +00:00
|
|
|
cd hashmap; make all;
|
2017-02-02 19:10:12 +00:00
|
|
|
cd net; make all;
|
2017-01-19 23:45:24 +00:00
|
|
|
cd record; make all;
|
2017-01-27 02:53:40 +00:00
|
|
|
cd routing; make all;
|
2017-02-01 17:14:52 +00:00
|
|
|
cd secio; make all;
|
2017-02-06 22:11:22 +00:00
|
|
|
cd utils; make all;
|
2016-11-07 21:34:08 +00:00
|
|
|
|
2017-02-02 19:10:12 +00:00
|
|
|
test: compile link
|
2016-11-09 16:22:25 +00:00
|
|
|
cd test; make all;
|
|
|
|
|
2017-01-23 17:07:48 +00:00
|
|
|
rebuild: clean all
|
|
|
|
|
2016-11-09 16:22:25 +00:00
|
|
|
all: test
|
|
|
|
|
2016-11-07 21:34:08 +00:00
|
|
|
clean:
|
|
|
|
cd crypto; make clean;
|
2016-11-17 20:06:53 +00:00
|
|
|
cd hashmap; make clean;
|
2017-02-02 19:10:12 +00:00
|
|
|
cd net; make clean;
|
2016-11-07 21:34:08 +00:00
|
|
|
cd thirdparty; make clean
|
2017-01-19 23:45:24 +00:00
|
|
|
cd record; make clean;
|
2017-01-27 02:53:40 +00:00
|
|
|
cd routing; make clean;
|
2017-02-06 22:11:22 +00:00
|
|
|
cd secio; make clean;
|
|
|
|
cd utils; make clean;
|
|
|
|
cd test; make clean;
|
2016-11-07 21:34:08 +00:00
|
|
|
rm -rf libp2p.a
|
2016-11-10 13:08:22 +00:00
|
|
|
|