From 01ac0d93c30a219e5cd2aa47551d1730fd34c627 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Fri, 21 Aug 2020 21:24:42 +0100 Subject: [PATCH] Makefile: Remove one of the lists of watch models Takes us down from three to two... getting better! Signed-off-by: Daniel Thompson --- Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b4e3a68..508d316 100644 --- a/Makefile +++ b/Makefile @@ -96,15 +96,23 @@ dist: DIST=../wasp-os-$(VERSION) dist: k9 k9: p8 p8: pinetime +pinetime : mrproper +mrproper : + $(RM) -r \ + $(DIST) build-* \ + bootloader/_build-* \ + reloader/build-* \ + reloader/src/boards/*/bootloader.h \ + micropython/mpy-cross/build \ + micropython/ports/nrf/build-* k9 p8 pinetime: - $(MAKE) BOARD=$@ clean + $(RM) wasp/boards/$@/watch.py $(MAKE) BOARD=$@ all dist: docs - $(RM) -rf $(DIST) mkdir -p $(DIST)/docs cp COPYING COPYING.LGPL README.rst $(DIST) cp -r docs/build/html/* $(DIST)/docs - cp -r build-pinetime/ build-p8/ build-k9/ $(DIST) + cp -r build-*/ $(DIST) cp -r tools/ $(DIST) (cd $(DIST); ln -s docs/_images/ res) find $(DIST) -name __pycache__ | xargs $(RM) -r