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

📄 makefile.vc

📁 levenberg marquit算法的.C源码
💻 VC
字号:
## MS Visual C Makefile for Levenberg - Marquardt minimization# Under Unix/Linux, use Makefile for GCC## At the command prompt, type# nmake /f Makefile.vc## NOTE: To use this, you must have MSVC installed and properly# configured for command line use (you might need to run VCVARS32.BAT# included with your copy of MSVC). Another option is to use the# free MSVC toolkit from http://msdn.microsoft.com/visualc/vctoolkit2003/#MAKE=nmake /nologoCC=cl /nologoLAPACKFLAG=/DHAVE_LAPACK # COMMENT THIS LINE IF YOU DO NOT HAVE LAPACK# YOU MIGHT WANT TO UNCOMMENT THE FOLLOWING LINE#SPOPTFLAGS=/GL /G7 /arch:SSE2 # special optimization: resp. whole program opt., Athlon/Pentium4 opt., SSE2 extensions# /MD COMPILES WITH MULTIPLE THREADS SUPPORT. TO DISABLE IT, SUBSTITUTE WITH /MLCFLAGS=$(LAPACKFLAG) /I. /MD /W3 /GX /O2 $(SPOPTFLAGS) # /WallLAPACKLIBS_PATH=C:\src\lib # WHEN USING LAPACK, CHANGE THIS TO WHERE YOUR COMPILED LIBS ARE!LDFLAGS=/link /subsystem:console /opt:ref /libpath:$(LAPACKLIBS_PATH) /libpath:.LIBOBJS=lm.obj Axb.obj misc.obj lmlec.obj lmbc.obj LIBSRCS=lm.c Axb.c misc.c lmlec.c lmbc.cDEMOBJS=lmdemo.objDEMOSRCS=lmdemo.cAR=lib /nologo# comment the following line if you are not using LAPACKLAPACKLIBS=clapack.lib blas.lib libF77.lib libI77.libLIBS=$(LAPACKLIBS) levmar.liball: levmar.lib lmdemo.exelevmar.lib: $(LIBOBJS)	$(AR) /out:levmar.lib $(LIBOBJS)lmdemo.exe: $(DEMOBJS) levmar.lib	$(CC) $(DEMOBJS) $(LDFLAGS) /out:lmdemo.exe $(LIBS)lm.obj: lm.c lm_core.c lm.h misc.hAxb.obj: Axb.c Axb_core.c lm.h misc.hmisc.obj: misc.c misc_core.c lm.h misc.hlmlec.obj: lmlec.c lmlec_core.c lm.h misc.hlmbc.obj: lmbc.c lmbc_core.c lm.h misc.hlmdemo.obj: lm.hclean:	-del $(LIBOBJS) $(DEMOBJS)

⌨️ 快捷键说明

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