2016-11-28 21:13:46 +00:00
|
|
|
CC = gcc
|
2019-01-02 15:20:13 +00:00
|
|
|
CFLAGS = -O0 -I../include -I../c-libp2p/include -I../c-libp2p/c-multihash/include -I../c-libp2p/c-multiaddr/include -I../lmdb/libraries/liblmdb -I../c-libp2p/c-protobuf -Wall
|
2016-11-28 21:13:46 +00:00
|
|
|
|
|
|
|
ifdef DEBUG
|
|
|
|
CFLAGS += -g3
|
|
|
|
endif
|
|
|
|
|
|
|
|
LFLAGS =
|
|
|
|
DEPS = ../include/ipfsdatastore/ds_helper.h
|
2016-11-30 16:46:41 +00:00
|
|
|
OBJS = ds_helper.o
|
2016-11-28 21:13:46 +00:00
|
|
|
|
|
|
|
%.o: %.c $(DEPS)
|
|
|
|
$(CC) -c -o $@ $< $(CFLAGS)
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|