2016-11-28 21:13:46 +00:00
|
|
|
CC = gcc
|
2017-09-13 17:40:48 +00:00
|
|
|
CFLAGS = -O0 -I../include -I../../c-libp2p/include -I../../c-multihash/include -I../../c-multiaddr/include -I../../lmdb/libraries/liblmdb -I../../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
|