Add distclean target

This commit is contained in:
Lorenz Meier 2015-10-02 11:04:32 +02:00
parent b222a83076
commit 21fadb9ea3
1 changed files with 9 additions and 1 deletions

View File

@ -139,7 +139,15 @@ sitl_ros:
all: px4fmu-v2_default
clean:
rm -rf build_*/
@rm -rf build_*/
distclean: clean
@cd NuttX
@git clean -d -f -x
@cd ..
@cd src/lib/uavcan
@git clean -d -f -x
@cd ../../..
# targets handled by cmake
cmake_targets = test upload package package_source debug debug_io check_weak