Skip to content

Commit

Permalink
build: default to "make help"
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Dec 22, 2018
1 parent 98267b0 commit 7da303f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ VEHICLES = copter plane rover sub heli

BOARD_LIST := $(shell $(WAF) list_boards | head -1)

all: $(WAF_BINARY)
@$(WAF) build
all: help

$(WAF_BINARY):
@git submodule init && git submodule update
Expand Down Expand Up @@ -45,12 +44,7 @@ help:
@echo "more than what this wrapper provides, it's a good idea to use waf directly."
@echo "The waf executable is at '$(WAF_BINARY)'."
@echo ""
@echo "WARNING: Ardupilot's Waf build system is still a work in progress, it's still"
@echo "missing features from the current official build system."
@echo ""
@echo "Note: The examples in this help consider this wrapper being named as Makefile"
@echo "or makefile. In a Linux environment, alias make='make -f THIS_MAKEFILE'"
@echo "should make them work."
@echo "For more detailed instructions see http://ardupilot.org/dev/docs/building-the-code.html"
@echo ""
@echo "Boards"
@echo "------"
Expand Down

0 comments on commit 7da303f

Please sign in to comment.