source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/SURF-V1.0.8_Original/Makefile @ 37

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

Added original make3d

File size: 1.3 KB
Line 
1
2# ------------------ Compilation options ------------------------
3
4# Loads math library. 
5LIBS = -lm
6GET = get
7CFLAGS = -Wall -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -msse3 -ansi
8#CFLAGS = -Wall -O3 -DNO_DEBUG -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -msse3 -ansi
9DEPEND= makedepend $(CFLAGS)
10
11CC = g++
12CXX = g++
13
14#CC = g++ -fabi-version=4.0.2
15#CXX = g++ -fabi-version=4.0.2
16
17# --------------------- Code modules ----------------------------
18
19# Source files
20SRCS = main.cpp imload.cpp os_mapping.cpp
21# Object files
22OBJ = main.o imload.o os_mapping.o
23# Definitions
24DEFS = image.h fasthessian.h ipoint.h surf.h imload.h
25
26# ------------------------ Rules --------------------------------
27#$(SRCS):
28#        $(GET) $@
29
30# Link against static library
31surf.ln: ${OBJ} libSurf.so
32        ${CC} -o $@ ${CFLAGS} main.o imload.o os_mapping.o -static libSurf.a ${LIBS}
33
34# Small matching demo application
35
36match.ln: match.cpp imload.o
37        ${CC} -o $@ ${CFLAGS} imload.o match.cpp -static libSurf.a -lm
38symmatch.ln: symmatch.cpp imload.o
39        ${CC} -o $@ ${CFLAGS} imload.o symmatch.cpp -static libSurf.a -lm
40
41# To link against a shared library, use
42#surf.ln: ${OBJ} libSurf.so
43#       ${CC} -o $@ ${CFLAGS} main.o imload.o -L. -lSurf ${LIBS}
44# Note to set LD_LIBRARY_PATH environment variable before running surf.ln
45
46clean:
47        -rm *.o surf.ln match.ln
48
49#depend: $(SRCS)
50#        $(DEPEND) $(SRCS)
Note: See TracBrowser for help on using the repository browser.