Browse Source

make: add target to list available targets

dev/timer
Oleg Hahm 8 years ago
parent
commit
dbca0d0dd4
  1. 5
      Makefile.include

5
Makefile.include

@ -140,7 +140,7 @@ BASELIBS += $(BINDIR)$(BOARD)_base.a
BASELIBS += $(BINDIR)${APPLICATION}.a
BASELIBS += $(USEPKG:%=${BINDIR}%.a)
.PHONY: all clean flash term doc debug debug-server reset objdump
.PHONY: all clean flash term doc debug debug-server reset objdump help
ELFFILE ?= $(BINDIR)$(APPLICATION).elf
HEXFILE ?= $(ELFFILE:.elf=.hex)
@ -302,3 +302,6 @@ else # RIOT_VERSION
$(MAKE) RIOTBASE=$(<D) $(filter-out clean, ${MAKECMDGOALS})
endif
help:
@$(MAKE) -qp | sed -ne 's/\(^[a-z][a-z_-]*\):.*/\1/p' | sort | uniq

Loading…
Cancel
Save