Line | |
---|
1 | # |
---|
2 | # Makefile for Sparse Bundle Adjustment demo program |
---|
3 | # |
---|
4 | CC=gcc |
---|
5 | CFLAGS=-I.. -O3 #-g -pg |
---|
6 | OBJS=eucsbademo.o imgproj.o readparams.o |
---|
7 | SRCS=eucsbademo.c imgproj.c readparams.c |
---|
8 | |
---|
9 | |
---|
10 | LAPACKLIBS=-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 | |
---|
25 | LIBS=-lsba $(LAPACKLIBS) -lm |
---|
26 | LDFLAGS=-L.. |
---|
27 | |
---|
28 | eucsbademo: $(OBJS) |
---|
29 | # $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o eucsbademo |
---|
30 | $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o eucsbademo $(LIBS) |
---|
31 | |
---|
32 | eucsbademo.o: eucsbademo.h |
---|
33 | readparams.o: eucsbademo.h |
---|
34 | |
---|
35 | clean: |
---|
36 | @rm -f $(OBJS) |
---|
37 | |
---|
38 | realclean cleanall: clean |
---|
39 | @rm -f eucsbademo |
---|
40 | |
---|
41 | depend: |
---|
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.