2016-11-10 13:08:22 +00:00
|
|
|
|
|
|
|
DEBUG = true
|
|
|
|
export DEBUG
|
|
|
|
|
2017-10-25 17:28:53 +00:00
|
|
|
LINKER_FLAGS=
|
|
|
|
|
2017-02-13 18:26:41 +00:00
|
|
|
OBJS = \
|
|
|
|
conn/*.o \
|
|
|
|
crypto/*.o \
|
|
|
|
crypto/encoding/*.o \
|
2017-04-20 22:55:18 +00:00
|
|
|
db/*.o \
|
2017-02-02 19:10:12 +00:00
|
|
|
thirdparty/mbedtls/*.o \
|
|
|
|
hashmap/hashmap.o \
|
2017-11-03 06:26:43 +00:00
|
|
|
identify/*.o \
|
2017-02-02 19:10:12 +00:00
|
|
|
net/*.o \
|
2017-04-06 14:32:54 +00:00
|
|
|
os/*.o \
|
2017-02-20 23:53:20 +00:00
|
|
|
peer/*.o \
|
2017-02-02 19:10:12 +00:00
|
|
|
record/*.o \
|
|
|
|
routing/*.o \
|
2017-02-06 22:11:22 +00:00
|
|
|
secio/*.o \
|
2017-10-11 16:23:25 +00:00
|
|
|
utils/*.o \
|
2017-11-29 03:44:18 +00:00
|
|
|
swarm/*.o \
|
2017-10-11 16:23:25 +00:00
|
|
|
yamux/*.o
|
2016-11-07 21:34:08 +00:00
|
|
|
|
2017-02-06 22:11:22 +00:00
|
|
|
link:
|
2017-10-25 17:28:53 +00:00
|
|
|
ar rcs libp2p.a $(OBJS) $(LINKER_FLAGS)
|
2016-11-07 21:34:08 +00:00
|
|
|
|
2017-02-13 18:26:41 +00:00
|
|
|
compile:
|
|
|
|
cd conn; make all;
|
2016-11-07 21:34:08 +00:00
|
|
|
cd crypto; make all;
|
2017-04-06 14:32:54 +00:00
|
|
|
cd db; make all;
|
2016-11-07 21:34:08 +00:00
|
|
|
cd thirdparty; make all;
|
2016-11-17 20:06:53 +00:00
|
|
|
cd hashmap; make all;
|
2017-11-03 06:26:43 +00:00
|
|
|
cd identify; make all;
|
2017-02-02 19:10:12 +00:00
|
|
|
cd net; make all;
|
2017-04-06 14:32:54 +00:00
|
|
|
cd os; make all;
|
2017-02-20 23:53:20 +00:00
|
|
|
cd peer; 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-11-29 03:44:18 +00:00
|
|
|
cd swarm; make all;
|
2017-02-06 22:11:22 +00:00
|
|
|
cd utils; make all;
|
2017-10-11 16:23:25 +00:00
|
|
|
cd yamux; 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:
|
2017-02-13 18:26:41 +00:00
|
|
|
cd conn; make clean;
|
2016-11-07 21:34:08 +00:00
|
|
|
cd crypto; make clean;
|
2017-04-06 14:32:54 +00:00
|
|
|
cd db; make clean;
|
2016-11-17 20:06:53 +00:00
|
|
|
cd hashmap; make clean;
|
2017-11-03 06:26:43 +00:00
|
|
|
cd identify; make clean;
|
2017-02-02 19:10:12 +00:00
|
|
|
cd net; make clean;
|
2017-04-06 14:32:54 +00:00
|
|
|
cd os; make clean;
|
2017-02-20 23:53:20 +00:00
|
|
|
cd peer; 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;
|
2017-11-29 03:44:18 +00:00
|
|
|
cd swarm; make clean;
|
2017-02-06 22:11:22 +00:00
|
|
|
cd utils; make clean;
|
|
|
|
cd test; make clean;
|
2017-10-11 16:23:25 +00:00
|
|
|
cd yamux; make clean;
|
2016-11-07 21:34:08 +00:00
|
|
|
rm -rf libp2p.a
|
2016-11-10 13:08:22 +00:00
|
|
|
|