source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/sba-1.3/demo/Makefile.icc @ 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# Makefile for Sparse Bundle Adjustment demo program
3#
4CC=icc
5CXX=icpc
6CFLAGS=-I.. -O3 -tpp7 -xW -march=pentium4 -mcpu=pentium4 -ip -ipo -unroll #-g
7OBJS=eucsbademo.o imgproj.o readparams.o
8SRCS=eucsbademo.c imgproj.c readparams.c
9
10
11LAPACKLIBS=-llapack -lblas -lf2c # On systems with a FORTRAN (not f2c'ed) version of LAPACK, -lf2c is
12                                 # not necessary; on others -lf2c is equivalent to -lF77 -lI77
13
14#LAPACKLIBS=-L/usr/local/atlas/lib -llapack -lcblas -lf77blas -latlas -lf2c # This works with the ATLAS updated lapack and Linux_P4SSE2
15                                                                           # from http://www.netlib.org/atlas/archives/linux/
16
17#LAPACKLIBS=-llapack -lgoto -lpthread -lf2c # This works with GotoBLAS
18                                           # from http://www.tacc.utexas.edu/resources/software/
19
20LIBS=-lsba $(LAPACKLIBS) -lm
21LDFLAGS=-L..
22
23eucsbademo: $(OBJS)
24        $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o eucsbademo $(LIBS)
25
26eucsbademo.o: eucsbademo.h
27readparams.o: eucsbademo.h
28
29clean:
30        @rm -f $(OBJS)
31
32realclean: clean
33        @rm -f eucsbademo
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.