c-libp2p/Makefile

26 lines
388 B
Makefile
Raw Normal View History

DEBUG = true
export DEBUG
2016-11-28 21:12:11 +00:00
OBJS = crypto/*.o crypto/encoding/*.o thirdparty/mbedtls/*.o hashmap/hashmap.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;
cd hashmap; make all;
2016-11-07 21:34:08 +00:00
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 hashmap; make clean;
2016-11-07 21:34:08 +00:00
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