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