mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
b533ea01dd
git-svn-id: file:///svn/tokudb@1218 c7de825b-a66e-492c-adef-691d508d4ae1
17 lines
330 B
Makefile
17 lines
330 B
Makefile
CPPFLAGS = -I../include
|
|
CXXFLAGS = -Wall -g
|
|
CC = c++
|
|
LDFLAGS = -lz
|
|
SRCS = $(wildcard *.cpp)
|
|
OBJS = $(patsubst %.cpp, %.o, $(SRCS))
|
|
|
|
LIBNAME = libtdb_cxx
|
|
|
|
default: install
|
|
install: $(LIBNAME).a
|
|
cp $< ../lib/
|
|
$(OBJS): ../include/db_cxx.h
|
|
test1: test1.o dbt.o db.o dbenv.o ../lib/libdb.a
|
|
|
|
$(LIBNAME).a: $(OBJS)
|
|
$(AR) rv $@ $(OBJS)
|