📄 makefile.icc
字号:
## Unix/Linux Intel ICC Makefile for Levenberg - Marquardt minimization# To be used with "make -f Makefile.icc"# Under windows, use Makefile.vc for MSVC#CC=icc #-w1 # warnings onCXX=icpcCONFIGFLAGS=#-ULINSOLVERS_RETAIN_MEMORYARCHFLAGS=-march=pentium4 -mcpu=pentium4CFLAGS=$(CONFIGFLAGS) $(ARCHFLAGS) -O3 -tpp7 -xW -ip -ipo -unroll #-gLAPACKLIBS_PATH=/usr/local/lib # WHEN USING LAPACK, CHANGE THIS TO WHERE YOUR COMPILED LIBS ARE!LDFLAGS=-L$(LAPACKLIBS_PATH) -L.LIBOBJS=lm.o Axb.o misc.o lmlec.o lmbc.o lmblec.oLIBSRCS=lm.c Axb.c misc.c lmlec.c lmbc.c lmblec.cDEMOBJS=lmdemo.oDEMOSRCS=lmdemo.cAR=xiar#RANLIB=ranlibLAPACKLIBS=-llapack -lblas -lf2c # comment this line if you are not using LAPACK. # On systems with a FORTRAN (not f2c'ed) version of LAPACK, -lf2c is # not necessary; on others, -lf2c is equivalent to -lF77 -lI77# The following works with the ATLAS updated lapack and Linux_P4SSE2 from http://www.netlib.org/atlas/archives/linux/#LAPACKLIBS=-L/usr/local/atlas/lib -llapack -lcblas -lf77blas -latlas -lf2cLIBS=$(LAPACKLIBS)all: liblevmar.a lmdemoliblevmar.a: $(LIBOBJS) $(AR) crv liblevmar.a $(LIBOBJS) #$(RANLIB) liblevmar.almdemo: $(DEMOBJS) liblevmar.a $(CC) $(ARCHFLAGS) $(LDFLAGS) $(DEMOBJS) -o lmdemo -llevmar $(LIBS) -lmlm.o: lm.c lm_core.c lm.h misc.h compiler.hAxb.o: Axb.c Axb_core.c lm.h misc.hmisc.o: misc.c misc_core.c lm.h misc.hlmlec.o: lmlec.c lmlec_core.c lm.h misc.hlmbc.o: lmbc.c lmbc_core.c lm.h misc.h compiler.hlmblec.o: lmblec.c lmblec_core.c lm.h misc.hlmdemo.o: lm.hclean: @rm -f $(LIBOBJS) $(DEMOBJS)cleanall: clean @rm -f lmdemo @rm -f liblevmar.adepend: makedepend -f Makefile.icc $(LIBSRCS) $(DEMOSRCS)# DO NOT DELETE THIS LINE -- make depend depends on it.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -