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

📄 makefile

📁 b树实现源码,linux和unix下运行,速度快,极好用
💻
字号:
OSNAME = $(shell  uname -s)PlatForm=supportedifeq ($(OSNAME), SunOS)CPlus = CCCPlusFlags = -O2 -w -mt -xarch=v8 SYSLIBS=-ldl -lnsl -lsocket  -lposix4 else ifeq ($(OSNAME), Linux)CPlus = g++CPlusFlags = -O2 -wSYSLIBS= -rdynamic -lrt -lpthread -lcryptelsePlatForm=notsupportedall:	echo "CSQL is not supported on $(OSNAME) platform"endifendifINCL=  -I$(CSQL_INSTALL_ROOT)/install/include -I../../../includeLIBS= -L$(CSQL_INSTALL_ROOT)/lib -lcsqlsql -lcsql -lcsqlsqllog -lcsqlnwTARGETS = \	test001\	test002\	test003\	test004\	test005\	test006\	test007\	test010\	test011ifeq ($(PlatForm), supported)all: $(TARGETS)endif .c.o:.c	$(CPlus) $(CPlusFlags) $(INCL) -c -o $@ $<test001: conntest1.o 	$(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) -lcsqlsql -lcsqlsqllog -lcsqlodbcadapter -lcsql -lcsqlnw -lodbc -lcsqlgw $(SYSLIBS)test002:conntest2.o	$(CPlus) $(CPlusFlags) -o $@ $< $(LIBS)  -lcsqlsql -lcsqlsqllog -lcsqlodbcadapter -lcsql -lcsqlnw -lodbc -lcsqlgw $(SYSLIBS)test003:conntest3.o	$(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) -lcsqlsql -lcsqlsqllog -lcsqlodbcadapter -lcsql -lcsqlnw -lodbc -lcsqlgw  $(SYSLIBS)test004:conntest4.o	$(CPlus) $(CPlusFlags) -o $@ $< $(LIBS)  -lcsqlsql -lcsqlsqllog -lcsqlodbcadapter -lcsql -lcsqlnw -lodbc -lcsqlgw $(SYSLIBS)test005:conntest5.o	$(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) -lcsqlsql -lcsqlsqllog -lcsqlodbcadapter -lcsql -lcsqlnw -lodbc -lcsqlgw  $(SYSLIBS)test006:conntest6.o	$(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) -lcsqlsql -lcsqlsqllog -lcsqlodbcadapter -lcsql -lcsqlnw -lodbc -lcsqlgw  $(SYSLIBS)test007:conntest7.o	$(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) -lcsqlsql -lcsqlsqllog -lcsqlodbcadapter -lcsql -lcsqlnw -lodbc -lcsqlgw  $(SYSLIBS)test010:conntest10.o	$(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) -lcsqlsql -lcsqlsqllog -lcsqlodbcadapter -lcsql -lcsqlnw -lodbc -lcsqlgw  $(SYSLIBS)test011:conntest11.o	$(CPlus) $(CPlusFlags) -o $@ $< $(LIBS) -lcsqlsql -lcsqlsqllog -lcsqlodbcadapter -lcsql -lcsqlnw -lodbc -lcsqlgw  $(SYSLIBS)clean:	rm -f *.o ${TARGETS}

⌨️ 快捷键说明

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