3 ALL_TARGETS += cc3d_opbl
5 ALL_TARGETS += olimexino
6 ALL_TARGETS += stm32f3discovery
7 ALL_TARGETS += chebuzzf3
9 ALL_TARGETS += eustm32f103rc
10 ALL_TARGETS += spracingf3
11 ALL_TARGETS += port103r
13 ALL_TARGETS += alienwiif1
14 ALL_TARGETS += alienwiif3
15 ALL_TARGETS += colibri_race
16 ALL_TARGETS += lux_race
17 ALL_TARGETS += motolab
19 ALL_TARGETS += ircfusionf3
21 CLEAN_TARGETS := $(addprefix clean_, $(ALL_TARGETS))
23 clean_naze naze : opts := TARGET=NAZE
24 clean_cc3d cc3d: opts := TARGET=CC3D
25 clean_cc3d_opbl cc3d_opbl : opts := TARGET=CC3D_OPBL
26 clean_nazepro nazepro : opts := TARGET=NAZE32PRO
27 clean_olimexino olimexino : opts := TARGET=OLIMEXINO
28 clean_stm32f3discovery stm32f3discovery : opts := TARGET=STM32F3DISCOVERY
29 clean_chebuzzf3 chebuzzf3 : opts := TARGET=CHEBUZZF3
30 clean_cjmcu cjmcu : opts := TARGET=CJMCU
31 clean_eustm32f103rc eustm32f103rc : opts := TARGET=EUSTM32F103RC
32 clean_spracingf3 spracingf3 : opts := TARGET=SPRACINGF3
33 clean_port103r port103r : opts := TARGET=PORT103R
34 clean_sparky sparky : opts := TARGET=SPARKY
35 clean_alienwiif1 alienwiif1 : opts := TARGET=ALIENFLIGHTF1
36 clean_alienwiif3 alienwiif3 : opts := TARGET=ALIENFLIGHTF3
37 clean_colibri_race colibri_race : opts := TARGET=COLIBRI_RACE
38 clean_lux_race lux_race : opts := TARGET=LUX_RACE
39 clean_motolab motolab : opts := TARGET=MOTOLAB
40 clean_rmdo rmdo : opts := TARGET=RMDO
41 clean_ircfusionf3 ircfusionf3 : opts := TARGET=IRCFUSIONF3
46 clean: clean_everything
49 .PHONY: clean_everything
50 clean_everything: $(CLEAN_TARGETS)
53 everything: $(ALL_TARGETS)
58 make -f Makefile $(opts)
60 .PHONY: $(CLEAN_TARGETS)
62 make -f Makefile clean $(opts)
66 @echo "This is your new top makefile. synopsis: make <target>" .
67 @echo "Valid targets":
70 @echo "$(ALL_TARGETS)"
71 @echo "$(CLEAN_TARGETS)"