23 CLEAN_TARGETS := $(addprefix clean_, $(ALL_TARGETS))
25 clean_naze naze : opts := TARGET=NAZE
26 clean_cc3d cc3d: opts := TARGET=CC3D
27 clean_cc3d_opbl cc3d_opbl : opts := TARGET=CC3D_OPBL
28 clean_cc3d_bp6 cc3d_bp6 : opts := TARGET=CC3D_BP6
29 clean_cc3d_opbl_bp6 cc3d_opbl_bp6 : opts := TARGET=CC3D_OPBL_BP6
30 clean_nazepro nazepro : opts := TARGET=NAZE32PRO
31 clean_olimexino olimexino : opts := TARGET=OLIMEXINO
32 clean_stm32f3discovery stm32f3discovery : opts := TARGET=STM32F3DISCOVERY
33 clean_chebuzzf3 chebuzzf3 : opts := TARGET=CHEBUZZF3
34 clean_cjmcu cjmcu : opts := TARGET=CJMCU
35 clean_eustm32f103rc eustm32f103rc : opts := TARGET=EUSTM32F103RC
36 clean_spracingf3 spracingf3 : opts := TARGET=SPRACINGF3
37 clean_port103r port103r : opts := TARGET=PORT103R
38 clean_sparky sparky : opts := TARGET=SPARKY
39 clean_alienwiif1 alienwiif1 : opts := TARGET=ALIENWIIF1
40 clean_alienwiif3 alienwiif3 : opts := TARGET=ALIENWIIF3
41 clean_colibri_race colibri_race : opts := TARGET=COLIBRI_RACE
42 clean_motolab motolab : opts := TARGET=MOTOLAB
43 clean_rmdo rmdo : opts := TARGET=RMDO
44 clean_ircfusionf3 ircfusionf3 : opts := TARGET=IRCFUSIONF3
49 clean: clean_everything
52 .PHONY: clean_everything
53 clean_everything: $(CLEAN_TARGETS)
56 everything: $(ALL_TARGETS)
61 make -f Makefile $(opts)
63 .PHONY: $(CLEAN_TARGETS)
65 make -f Makefile clean $(opts)
69 @echo "This is your new top makefile. synopsis: make <target>" .
70 @echo "Valid targets":
73 @echo "$(ALL_TARGETS)"
74 @echo "$(CLEAN_TARGETS)"