mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 16:57:46 +08:00
27 lines
659 B
Makefile
27 lines
659 B
Makefile
# avpd rev. HEAD
|
|||
|
|
INSTALL_DIR = utilite
|
||
|
|
|
||
|
|
all: installed
|
||
|
|
|
||
|
|
SVN_DIR = build/utilite-svn
|
||
|
|
SVN_URL = http://utilite.googlecode.com/svn/trunk/
|
||
|
|
SVN_REVISION = -r81
|
||
|
|
#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 utilite`/$(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
|