Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cf68e35042
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (28 sloc) 0.636 kb
CC = gcc
DEBUG = -g -ggdb -DDEBUG
CFLAGS = -c -std=c99 -W -Wall -Werror -fPIC $(DEBUG)
LIB_OBJS = \
./engine/db.o\
./engine/sst.o\
./engine/log.o\
./engine/util.o\
./engine/meta.o\
./engine/debug.o\
./engine/index.o\
./engine/bloom.o\
./engine/buffer.o\
./engine/skiplist.o
LIBRARY = libnessdb.so
all: $(LIBRARY)
clean:
-rm -f $(LIBRARY)
-rm -f $(LIB_OBJS)
-rm -f db-bench
-rm -f bench/db-bench.o
cleandb:
-rm -rf ndbs
-rm -rf *.event
$(LIBRARY): $(LIB_OBJS)
$(CC) -pthread -fPIC -shared $(LIB_OBJS) -o libnessdb.so
db-bench: bench/db-bench.o $(LIB_OBJS)
$(CC) -pthread bench/db-bench.o $(LIB_OBJS) -o $@
Jump to Line
Something went wrong with that request. Please try again.