source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/sba-1.3/Makefile.vc @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 1.2 KB
Line 
1#
2# MS Visual C Makefile for Sparse Bundle Adjustment library & demo program
3# At the command prompt, type
4# nmake /f Makefile.vc
5#
6# NOTE: To use this, you must have MSVC installed and properly
7# configured for command line use (you might need to run VCVARS32.BAT
8# included with your copy of MSVC). Another option is to use the
9# free MSVC toolkit from http://msdn.microsoft.com/visualc/vctoolkit2003/
10#
11CC=cl /nologo
12# YOU MIGHT WANT TO UNCOMMENT THE FOLLOWING LINE
13#SPOPTFLAGS=/GL /G7 /arch:SSE2 # special optimization: resp. whole program opt., Athlon/Pentium4 opt., SSE2 extensions
14# /MD COMPILES WITH MULTIPLE THREADS SUPPORT. TO DISABLE IT, SUBSTITUTE WITH /ML
15CFLAGS=/I. /MD /W3 /GX /O2 $(SPOPTFLAGS) # /Wall
16OBJS=sba_levmar.obj sba_levmar_wrap.obj sba_lapack.obj sba_crsm.obj sba_chkjac.obj
17SRCS=sba_levmar.c sba_levmar_wrap.c sba_lapack.c sba_crsm.c sba_chkjac.c
18AR=lib /nologo
19MAKE=nmake /nologo
20
21all: sba.lib dem
22
23sba.lib: $(OBJS)
24        $(AR) /out:sba.lib $(OBJS)
25
26sba_levmar.obj: sba.h sba_chkjac.h
27sba_levmar_wrap.obj: sba.h
28sba_lapack.obj: sba.h
29sba_crsm.obj: sba.h
30sba_chkjac.obj: sba.h sba_chkjac.h
31
32dem:
33        cd demo
34        $(MAKE) /f Makefile.vc
35        cd ..
36
37clean:
38        -del $(OBJS)
39        cd demo
40        $(MAKE) /f Makefile.vc clean
41        cd ..
42
43realclean cleanall: clean
44        -del sba.lib
Note: See TracBrowser for help on using the repository browser.