You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kaleidoscope/etc/sketch-arduino-cli.mk

25 lines
591 B

mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
mkfile_dir := $(dir $(mkfile_path))
KALEIDOSCOPE_BUILDER_DIR ?= $(abspath $(mkfile_dir)/../bin)
.DEFAULT_GOAL := compile
all:
@echo "Make all target doesn't do anything"
@: ## Do not remove this line, otherwise `make all` will trigger the `%` rule too.
decompile: disassemble
@: ## Do not remove this line, otherwise `make all` will trigger the `%` rule too.
disassemble: compile
size-map: compile
flash: compile
%:
ARDUINO_DIRECTORIES_USER=$(ARDUINO_DIRECTORIES_USER) $(KALEIDOSCOPE_BUILDER_DIR)/kaleidoscope-builder $@