|
|
|
@ -3,10 +3,10 @@ TARGETS = $(patsubst %.c,%,$(SRCS)) $(patsubst %.c,%-bdb,$(SRCS)) |
|
|
|
CPPFLAGS = -I../include -D_GNU_SOURCE |
|
|
|
CFLAGS = -g -std=c99 -Wall -Wextra -Werror -Wno-missing-field-initializers |
|
|
|
ifeq ($(USE_STATIC_LIBS),1) |
|
|
|
LIBTOKUDB = tokudb_static |
|
|
|
LIBTOKUDB = tokufractaltree_static |
|
|
|
LIBTOKUPORTABILITY = tokuportability_static |
|
|
|
else |
|
|
|
LIBTOKUDB = tokudb |
|
|
|
LIBTOKUDB = tokufractaltree |
|
|
|
LIBTOKUPORTABILITY = tokuportability |
|
|
|
endif |
|
|
|
LDFLAGS = -L../lib -l$(LIBTOKUDB) -l$(LIBTOKUPORTABILITY) -Wl,-rpath,../lib -lpthread -lz -ldl |
|
|
|
|