Skip to content
Snippets Groups Projects
Commit dbca0d0d authored by Oleg Hahm's avatar Oleg Hahm
Browse files

make: add target to list available targets

parent 1bffaedb
No related branches found
No related tags found
No related merge requests found
...@@ -140,7 +140,7 @@ BASELIBS += $(BINDIR)$(BOARD)_base.a ...@@ -140,7 +140,7 @@ BASELIBS += $(BINDIR)$(BOARD)_base.a
BASELIBS += $(BINDIR)${APPLICATION}.a BASELIBS += $(BINDIR)${APPLICATION}.a
BASELIBS += $(USEPKG:%=${BINDIR}%.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 ELFFILE ?= $(BINDIR)$(APPLICATION).elf
HEXFILE ?= $(ELFFILE:.elf=.hex) HEXFILE ?= $(ELFFILE:.elf=.hex)
...@@ -302,3 +302,6 @@ else # RIOT_VERSION ...@@ -302,3 +302,6 @@ else # RIOT_VERSION
$(MAKE) RIOTBASE=$(<D) $(filter-out clean, ${MAKECMDGOALS}) $(MAKE) RIOTBASE=$(<D) $(filter-out clean, ${MAKECMDGOALS})
endif endif
help:
@$(MAKE) -qp | sed -ne 's/\(^[a-z][a-z_-]*\):.*/\1/p' | sort | uniq
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment