summaryrefslogtreecommitdiff
path: root/libmoped/libs/sba-1.6/Makefile
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2010-06-25 01:51:45 -0400
committerGuillaume Seguin <guillaume@segu.in>2010-06-25 01:51:45 -0400
commit2855df5c4610c4414258dd53de3e2cd21fde623f (patch)
tree44f2888fc02f32a5b31cbcc7b0463fcd12cf9aaa /libmoped/libs/sba-1.6/Makefile
parent7490195addb30b95a4323076139bd9ac61067a6f (diff)
downloadcmu-2855df5c4610c4414258dd53de3e2cd21fde623f.tar.gz
cmu-2855df5c4610c4414258dd53de3e2cd21fde623f.tar.bz2
Import sba-1.6
Diffstat (limited to 'libmoped/libs/sba-1.6/Makefile')
-rw-r--r--libmoped/libs/sba-1.6/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/libmoped/libs/sba-1.6/Makefile b/libmoped/libs/sba-1.6/Makefile
new file mode 100644
index 0000000..cc6f5d8
--- /dev/null
+++ b/libmoped/libs/sba-1.6/Makefile
@@ -0,0 +1,34 @@
+#
+# Makefile for Sparse Bundle Adjustment library & demo program
+#
+CC=gcc
+#ARCHFLAGS=-march=pentium4 # YOU MIGHT WANT TO UNCOMMENT THIS FOR P4
+CFLAGS=$(ARCHFLAGS) -O3 -funroll-loops -Wall #-Wstrict-aliasing #-g -pg
+OBJS=sba_levmar.o sba_levmar_wrap.o sba_lapack.o sba_crsm.o sba_chkjac.o
+SRCS=sba_levmar.c sba_levmar_wrap.c sba_lapack.c sba_crsm.c sba_chkjac.c
+AR=ar
+RANLIB=ranlib
+MAKE=make
+
+all: libsba.a
+
+libsba.a: $(OBJS)
+ $(AR) crv libsba.a $(OBJS)
+ $(RANLIB) libsba.a
+
+sba_levmar.o: sba.h sba_chkjac.h compiler.h
+sba_levmar_wrap.o: sba.h
+sba_lapack.o: sba.h compiler.h
+sba_crsm.o: sba.h
+sba_chkjac.o: sba.h sba_chkjac.h compiler.h
+
+clean:
+ @rm -f $(OBJS)
+
+realclean cleanall: clean
+ @rm -f libsba.a
+
+depend:
+ makedepend -f Makefile $(SRCS)
+
+# DO NOT DELETE THIS LINE -- make depend depends on it.