Implementing protobuf objects for bitswap messages

This commit is contained in:
jmjatlanta 2017-07-20 15:03:49 -05:00
parent 1fe5be1c5c
commit 2232d03854
17 changed files with 934 additions and 21 deletions

18
exchange/Makefile Normal file
View file

@ -0,0 +1,18 @@
CC = gcc
CFLAGS = -O0 -I../include -I../../c-libp2p/include -std=c99
ifdef DEBUG
CFLAGS += -g3
endif
DEPS =
OBJS =
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
all: $(OBJS)
cd bitswap; make all;
clean:
rm -f *.o
cd bitswap; make clean;