1 Star 1 Fork 0

wamwamja/siftMatch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
wamwamja 提交于 2016-01-21 10:00 . first commit
#-----------------------------------------------------------------------------
# Basic definitions
# BASEDIR where include, src, lib, ... are
# INCDIR include directory
# LIBDIR library directory
# BINDIR bin directory
# LDFLAGS loader flags
# ANNLIBS libraries
#-----------------------------------------------------------------------------
BASEDIR = .
INCDIR = $(BASEDIR)/include
LIBDIR = $(BASEDIR)/lib
LDFLAGS = -L$(LIBDIR)
ANNLIBS = -lANN -lm
#-----------------------------------------------------------------------------
# Make the program
#-----------------------------------------------------------------------------
PHONY: clean all
all: test_sift traditional_match accelerated_match synthetic_test
test_sift: test_sift.o utils.o
g++ $^ $(ANNLIBS) -o $@ $(LDFLAGS) $(ANNLIBS)
traditional_match: traditional_match.o utils.o
g++ $^ $(ANNLIBS) -o $@ $(LDFLAGS) $(ANNLIBS)
accelerated_match: accelerated_match.o utils.o
g++ $^ $(ANNLIBS) -o $@ $(LDFLAGS) $(ANNLIBS)
synthetic_test:synthetic_test.o auxil.o
g++ $^ $(ANNLIBS) -o $@ $(LDFLAGS) $(ANNLIBS)
#-----------------------------------------------------------------------------
# Objects
#-----------------------------------------------------------------------------
test_sift.o: test_sift.cpp
g++ -c -I$(INCDIR) $(CFLAGS) $^
accelerated_match.o: accelerated_match.cpp
g++ -c -I$(INCDIR) $(CFLAGS) $^
traditional_match.o: traditional_match.cpp
g++ -c -I$(INCDIR) $(CFLAGS) $^
synthetic_test.o: synthetic_test.cpp
g++ -c -I$(INCDIR) $(CFLAGS) $^
auxil.o: auxil.cpp
g++ -c -I$(INCDIR) $(CFLAGS) $^
#-----------------------------------------------------------------------------
# Cleaning
#-----------------------------------------------------------------------------
clean:
-rm -f *.o
realclean: clean
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/CharlieLUO/siftMatch.git
git@gitee.com:CharlieLUO/siftMatch.git
CharlieLUO
siftMatch
siftMatch
master

搜索帮助