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

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

Added original make3d

File size: 1.7 KB
Line 
1#
2# Makefile for Sparse Bundle Adjustment demo program
3#
4CC=gcc
5CFLAGS=-I.. -O3 #-g -pg
6OBJS=eucsbademo.o imgproj.o readparams.o
7SRCS=eucsbademo.c imgproj.c readparams.c
8
9
10LAPACKLIBS=-L/afs/cs/u/aliensun/scratch/view3/third_party/CLAPACK -L/afs/cs/u/aliensun/scratch/view3/third_party/CLAPACK/F2CLIBS -llapack_LINUX -lblas_LINUX -lF77  # On systems with a FORTRAN (not f2c'ed) version of LAPACK, -lf2c is
11                                 # not necessary; on others -lf2c is equivalent to -lF77 -lI77
12
13#LAPACKLIBS=-llapack -lblas -lf2c # On systems with a FORTRAN (not f2c'ed) version of LAPACK, -lf2c is
14                                 # not necessary; on others -lf2c is equivalent to -lF77 -lI77
15
16#LAPACKLIBS=-L/usr/local/atlas/lib -llapack -lcblas -lf77blas -latlas -lf2c # This works with the ATLAS updated lapack and Linux_P4SSE2
17                                                                            # from http://www.netlib.org/atlas/archives/linux/
18
19#LAPACKLIBS=-llapack -lgoto -lpthread -lf2c # This works with GotoBLAS
20                                            # from http://www.tacc.utexas.edu/resources/software/
21
22#LAPACKLIBS=-L/opt/intel/mkl/8.0.1/lib/32/ -lmkl_lapack -lmkl_ia32 -lguide -lf2c # This works with MKL 8.0.1 from
23                                            # http://www.intel.com/cd/software/products/asmo-na/eng/perflib/mkl/index.htm
24
25LIBS=-lsba $(LAPACKLIBS) -lm
26LDFLAGS=-L..
27
28eucsbademo: $(OBJS)
29#       $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o eucsbademo
30        $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o eucsbademo $(LIBS)
31
32eucsbademo.o: eucsbademo.h
33readparams.o: eucsbademo.h
34
35clean:
36        @rm -f $(OBJS)
37
38realclean cleanall: clean
39        @rm -f eucsbademo
40
41depend:
42        makedepend -f Makefile $(SRCS)
43
44# DO NOT DELETE THIS LINE -- make depend depends on it.
Note: See TracBrowser for help on using the repository browser.