generate build files for cd
Some checks failed
Arduino Pong CI / build (macos-latest) (push) Has been cancelled
Arduino Pong CI / build (ubuntu-latest) (push) Has been cancelled
Arduino Pong CI / build (windows-latest) (push) Has been cancelled
Arduino Pong CD / release (push) Has been cancelled

This commit is contained in:
andrea
2026-03-15 18:19:48 +01:00
parent 1f143520a8
commit a938adff31
3 changed files with 8 additions and 2 deletions

View File

@@ -30,8 +30,13 @@ prepare:
fi
compile:
@mkdir -p build
@echo -e "$(GREEN)🛠️ Compiling $(SKETCH)...$(CLEAR)"
@$(CLI) compile -b $(BOARD) $(SKETCH)
@$(CLI) compile -b $(BOARD) --output-dir build $(SKETCH)
clean:
@echo -e "$(GREEN)🛠️ Removing build files...$(CLEAR)"
@rm -rf build/
prepare_and_compile:
make prepare --no-print-directory