From 29ef97b167658fa76a4f620f36b8720b73f8529b Mon Sep 17 00:00:00 2001 From: Laborratte5 Date: Sun, 28 Apr 2024 23:12:16 +0200 Subject: [PATCH] build: add clean target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index a4b9601..911c488 100644 --- a/Makefile +++ b/Makefile @@ -25,3 +25,8 @@ install: check src/*.mpy echo Uploading $$f; \ $(AMPY) --port $(ESP_PORT) put $$f; \ done + +clean: + rm -rf src/__pycache__ + rm -f src/*.pyc + rm -f src/*.mpy