This commit is contained in:
Tully Foote 2009-11-16 23:57:16 +00:00
parent af0174c12b
commit e51cce5856
1 changed files with 3 additions and 4 deletions

View File

@ -7,16 +7,15 @@ minimal: core_tools
# enough for rosmake # enough for rosmake
core_tools: core_tools:
@if [ ! $(ROS_ROOT) ]; then echo "Please set ROS_ROOT first"; false; fi @if [ ! $(ROS_ROOT) ]; then echo "Please set ROS_ROOT first"; false; fi
cd tools/rospack && make
@if test -z `which rospack`; then echo "Please add ROS_ROOT/bin to PATH"; false; fi @if test -z `which rospack`; then echo "Please add ROS_ROOT/bin to PATH"; false; fi
cd tools/rosdep && make make -C $(ROS_ROOT)/tools/rosdep
clean: clean:
@if test -z `which rospack`; then echo "It appears that you have already done a 'make clean' because rospack is gone."; false; fi @if test -z `which rospack`; then echo "It appears that you have already done a 'make clean' because rospack is gone."; false; fi
rosmake -r --target=clean ros rosmake -r --target=clean ros
cd tools/rospack && make clean make -C $(ROS_ROOT)/tools/rospack clean
## include $(shell rospack find mk)/cmake_stack.mk ## include $(shell rospack find mk)/cmake_stack.mk
### copied below since it can't be found before rospack is built ### copied below since it can't be found before rospack is built