2016-11-10 08:08:22 -05:00
|
|
|
|
|
|
|
DEBUG = true
|
|
|
|
export DEBUG
|
|
|
|
|
2017-01-19 20:45:24 -03:00
|
|
|
OBJS = crypto/*.o crypto/encoding/*.o thirdparty/mbedtls/*.o hashmap/hashmap.o record/*.o
|
2016-11-07 16:34:08 -05:00
|
|
|
|
|
|
|
|
2016-11-09 11:22:25 -05:00
|
|
|
compile:
|
2016-11-07 16:34:08 -05:00
|
|
|
cd crypto; make all;
|
|
|
|
cd thirdparty; make all;
|
2016-11-17 15:06:53 -05:00
|
|
|
cd hashmap; make all;
|
2017-01-19 20:45:24 -03:00
|
|
|
cd record; make all;
|
2016-11-07 16:34:08 -05:00
|
|
|
ar rcs libp2p.a $(OBJS)
|
|
|
|
|
2016-11-09 11:22:25 -05:00
|
|
|
test: compile
|
|
|
|
cd test; make all;
|
|
|
|
|
2017-01-23 12:07:48 -05:00
|
|
|
rebuild: clean all
|
|
|
|
|
2016-11-09 11:22:25 -05:00
|
|
|
all: test
|
|
|
|
|
2016-11-07 16:34:08 -05:00
|
|
|
clean:
|
|
|
|
cd crypto; make clean;
|
2016-11-17 15:06:53 -05:00
|
|
|
cd hashmap; make clean;
|
2016-11-07 16:34:08 -05:00
|
|
|
cd thirdparty; make clean
|
2016-11-09 11:22:25 -05:00
|
|
|
cd test; make clean;
|
2017-01-19 20:45:24 -03:00
|
|
|
cd record; make clean;
|
2016-11-07 16:34:08 -05:00
|
|
|
rm -rf libp2p.a
|
2016-11-10 08:08:22 -05:00
|
|
|
|