mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 16:57:46 +08:00
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@110 f169173b-cf89-36c8-b27e-44dbe73f0c83
27 lines
672 B
Makefile
27 lines
672 B
Makefile
# avpd rev. HEAD
|
|
INSTALL_DIR = rtabmap
|
|
|
|
all: installed
|
|
|
|
SVN_DIR = build/rtabmap-svn
|
|
SVN_URL = https://rtabmap.googlecode.com/svn/trunk/rtabmap
|
|
SVN_REVISION = -r110
|
|
#SVN_PATCH = opencvVer.patch
|
|
include $(shell rospack find mk)/svn_checkout.mk
|
|
|
|
CMAKE = cmake
|
|
CMAKE_ARGS = -D CMAKE_BUILD_TYPE=RELEASE \
|
|
-D CMAKE_INSTALL_PREFIX=`rospack find rtabmap_lib`/$(INSTALL_DIR)
|
|
|
|
installed: $(SVN_DIR) patched
|
|
mkdir -p $(SVN_DIR)/build
|
|
cd $(SVN_DIR)/build && $(CMAKE) $(CMAKE_ARGS) ..
|
|
cd $(SVN_DIR)/build && make $(ROS_PARALLEL_JOBS) && make install
|
|
touch Makefile
|
|
|
|
clean:
|
|
-cd $(SVN_DIR)/build && make clean
|
|
rm -rf $(INSTALL_DIR) installed
|
|
|
|
.PHONY : clean download
|