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

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

Added original make3d

File size: 733 bytes
Line 
1#
2# Makefile for Sparse Bundle Adjustment library & demo program
3#
4CC=gcc
5CFLAGS=-O3 -funroll-loops #-Wstrict-aliasing #-g -pg
6OBJS=sba_levmar.o sba_levmar_wrap.o sba_lapack.o sba_crsm.o sba_chkjac.o
7SRCS=sba_levmar.c sba_levmar_wrap.c sba_lapack.c sba_crsm.c sba_chkjac.c
8AR=ar
9RANLIB=ranlib
10MAKE=make
11
12all: libsba.a dem
13
14libsba.a: $(OBJS)
15        $(AR) crv libsba.a $(OBJS)
16        $(RANLIB) libsba.a
17
18sba_levmar.o: sba.h sba_chkjac.h
19sba_levmar_wrap.o: sba.h
20sba_lapack.o: sba.h
21sba_crsm.o: sba.h
22sba_chkjac.o: sba.h sba_chkjac.h
23
24dem:
25        cd demo; $(MAKE)
26
27clean:
28        @rm -f $(OBJS)
29        cd demo; $(MAKE) clean
30
31realclean cleanall: clean
32        @rm -f libsba.a
33
34depend:
35        makedepend -f Makefile $(SRCS)
36
37# DO NOT DELETE THIS LINE -- make depend depends on it.
Note: See TracBrowser for help on using the repository browser.