Line | |
---|
1 | # |
---|
2 | # Makefile for Sparse Bundle Adjustment demo program |
---|
3 | # |
---|
4 | CC=icc |
---|
5 | CXX=icpc |
---|
6 | CFLAGS=-I.. -O3 -tpp7 -xW -march=pentium4 -mcpu=pentium4 -ip -ipo -unroll #-g |
---|
7 | OBJS=eucsbademo.o imgproj.o readparams.o |
---|
8 | SRCS=eucsbademo.c imgproj.c readparams.c |
---|
9 | |
---|
10 | |
---|
11 | LAPACKLIBS=-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 | |
---|
20 | LIBS=-lsba $(LAPACKLIBS) -lm |
---|
21 | LDFLAGS=-L.. |
---|
22 | |
---|
23 | eucsbademo: $(OBJS) |
---|
24 | $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o eucsbademo $(LIBS) |
---|
25 | |
---|
26 | eucsbademo.o: eucsbademo.h |
---|
27 | readparams.o: eucsbademo.h |
---|
28 | |
---|
29 | clean: |
---|
30 | @rm -f $(OBJS) |
---|
31 | |
---|
32 | realclean: clean |
---|
33 | @rm -f eucsbademo |
---|
34 | |
---|
35 | depend: |
---|
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.