makefile: make it easier to disable targets.

Sometimes you're working on a subset of targets, and want to do full
clean/builds, but don't need to clean and rebuild families you're not
working with.  This is a pure syntactic change that makes it easier to
simply comment out lines for targets, instead of having to mangle line
continuations.
This commit is contained in:
Karl Palsson 2016-12-01 15:56:51 +00:00
parent da91794f52
commit 31eac1b787

View File

@ -27,13 +27,14 @@ space:=
space+=
SRCLIBDIR:= $(subst $(space),\$(space),$(realpath lib))
TARGETS:= stm32/f0 stm32/f1 stm32/f2 stm32/f3 stm32/f4 stm32/f7 \
stm32/l0 stm32/l1 stm32/l4 \
lpc13xx lpc17xx lpc43xx/m4 lpc43xx/m0 lm3s lm4f \
efm32/tg efm32/g efm32/lg efm32/gg \
sam/3a sam/3n sam/3s sam/3u sam/3x \
sam/d \
vf6xx
TARGETS := stm32/f0 stm32/f1 stm32/f2 stm32/f3 stm32/f4 stm32/f7
TARGETS += stm32/l0 stm32/l1 stm32/l4
TARGETS += lpc13xx lpc17xx lpc43xx/m4 lpc43xx/m0
TARGETS += lm3s lm4f
TARGETS += efm32/tg efm32/g efm32/lg efm32/gg
TARGETS += sam/3a sam/3n sam/3s sam/3u sam/3x
TARGETS += sam/d
TARGETS += vf6xx
# Be silent per default, but 'make V=1' will show all compiler calls.
ifneq ($(V),1)