Implementing protobuf objects for bitswap messages
This commit is contained in:
parent
1fe5be1c5c
commit
2232d03854
17 changed files with 934 additions and 21 deletions
18
exchange/Makefile
Normal file
18
exchange/Makefile
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue