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

📄 makefile

📁 sba, a C/C++ package for generic sparse bundle adjustment is almost invariably used as the last step
💻
字号:
## Unix/Linux Makefile for MATLAB interface to sba#MEX=mexMEXCFLAGS=-I.. -O #-g# WHEN USING LAPACK, CHANGE THE NEXT TWO LINES TO WHERE YOUR COMPILED LAPACK/BLAS & F2C LIBS ARE!LAPACKBLASLIBS_PATH=/usr/libF2CLIBS_PATH=/usr/local/lib# I had to specify the absolute path to the libs, otherwise mex linked against their dynamic versions...INTFACESRCS=sba.cINTFACESOBJ=sba.mexglxSBALIB=../libsba.aLAPACKLIBS=$(LAPACKBLASLIBS_PATH)/liblapack.a $(LAPACKBLASLIBS_PATH)/libblas.a $(F2CLIBS_PATH)/libf2c.a                                 # On systems with a FORTRAN (not f2c'ed) version of LAPACK, libf2c.a is                                 # not necessary; on others, libf2c.a comes in two parts: libF77.a and libI77.aLIBS=$(SBALIB) $(LAPACKLIBS) #-ldldummy: $(INTFACESOBJ) projac.so$(INTFACESOBJ): $(INTFACESRCS)	$(MEX) $(MEXCFLAGS) $(INTFACESRCS) $(LIBS)projac.so: projac.c	gcc -fPIC -O3 -shared -o projac.so projac.cclean:	@rm -f $(INTFACESOBJ) projac.sorealclean cleanall: cleandepend:	makedepend -f Makefile $(INTFACESRCS)# DO NOT DELETE THIS LINE -- make depend depends on it.

⌨️ 快捷键说明

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