⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 对Oracle数据库OCI的一个轻量级封装
💻
字号:
# OraLib 0.0.3 / 2002-06-30
#	Makefile
#
#	http://606u.dir.bg/
#	606u@dir.bg

# compiler to use
CXX = gcc.exe

# libtool
LD = ld.exe

# compiler flags
INCDIR = -I e:/Oracle/Ora81/oci/include -I e:/stlport-4.5.3/stlport
LIBDIR = -L e:/devtools/mingw/lib
LINKFLAGS = -l user32 -l kernel32 -l advapi32 -l oci -l crtdll -l msvcrt -l stlport_mingw32
CXXFLAGS = -Wall -pedantic

# do not change lines below

LINKOBJS = \
	error.o \
	connection.o \
	statement.o \
	parameter.o \
	resultset.o \
	column.o

all : oralib.a

clean :
	@if exist "oralib.a" del "oralib.a"
	@if exist "*.o" del "*.o"

oralib.a : $(LINKOBJS)
	$(LD) $(LIBDIR) $(LINKOBJS) $(LINKFLAGS) -o oralib.a

error.o : error.cpp \
	_p.h oralib.h error.h datetime.inl connection.h \
	column.h resultset.h statement.h parameter.h

connection.o : connection.cpp \
	_p.h oralib.h error.h datetime.inl \
	connection.h column.h resultset.h statement.h parameter.h

statement.o : statement.cpp \
	_p.h oralib.h error.h datetime.inl \
	connection.h column.h resultset.h statement.h parameter.h

parameter.o : parameter.cpp \
	_p.h oralib.h error.h datetime.inl \
	connection.h column.h resultset.h statement.h parameter.h

resultset.o : resultset.cpp \
	_p.h oralib.h error.h datetime.inl \
	connection.h column.h resultset.h statement.h parameter.h

column.o : column.cpp \
	_p.h oralib.h error.h datetime.inl connection.h \
	column.h resultset.h statement.h parameter.h

# build

.cpp.o :
	$(CXX) $(INCDIR) $(CXXFLAGS) -c $< -o $@

# end makefile

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -