Commit 2127f452 authored by Rich Prohaska's avatar Rich Prohaska

use tokutek db.h to compile. addresses #147

git-svn-id: file:///svn/tokudb@1006 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7ae62892
......@@ -8,6 +8,7 @@ CPPFLAGS = -I$(BDBDIR)/include
CFLAGS = -std=gnu89 -W -Wall -Wno-unused -g
LDFLAGS = -L$(BDBDIR)/lib -ldb -lpthread -Wl,-rpath,$(BDBDIR)/lib
# LDFLAGS = -L$(BDBDIR)/lib -ldb -lpthread
STATIC_CPPFLAGS = -I../include
STATIC_LDFLAGS = ../lib/libdb.a -lz
UTILS= \
......@@ -25,7 +26,7 @@ all: $(UTILS) $(STATIC_UTILS)
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS)
%_static: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(STATIC_LDFLAGS)
$(CC) $(STATIC_CPPFLAGS) $(CFLAGS) -o $@ $< $(STATIC_LDFLAGS)
strip: $(STATIC_UTILS)
strip $(STATIC_UTILS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment