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

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

Added original make3d

File size: 843 bytes
Line 
1#
2# Makefile for Sparse Bundle Adjustment library & demo program
3#
4CC=icc #-w1 # warnings on
5CXX=icpc
6CFLAGS=-Wcheck -O3 -tpp7 -xW -march=pentium4 -mcpu=pentium4 -ip -ipo -unroll #-g # -fno-alias
7OBJS=sba_levmar.o sba_levmar_wrap.o sba_lapack.o sba_crsm.o sba_chkjac.o
8SRCS=sba_levmar.c sba_levmar_wrap.c sba_lapack.c sba_crsm.c sba_chkjac.c
9AR=xiar
10#RANLIB=ranlib
11MAKE=make
12
13all: libsba.a dem
14
15libsba.a: $(OBJS)
16        $(AR) crvs libsba.a $(OBJS)
17        #$(RANLIB) libsba.a
18
19sba_levmar.o: sba.h sba_chkjac.h
20sba_levmar_wrap.o: sba.h
21sba_lapack.o: sba.h
22sba_crsm.o: sba.h
23sba_chkjac.o: sba.h sba_chkjac.h
24
25dem:
26        cd demo; $(MAKE) -f Makefile.icc
27
28clean:
29        @rm -f $(OBJS)
30        cd demo; $(MAKE) -f Makefile.icc clean
31
32realclean cleanall: clean
33        @rm -f libsba.a
34
35depend:
36        makedepend -f Makefile.icc $(SRCS)
37
38# DO NOT DELETE THIS LINE -- make depend depends on it.
Note: See TracBrowser for help on using the repository browser.