Skip to content

Instantly share code, notes, and snippets.

@dnng
dnng / Makefile
Created October 4, 2023 05:32 — forked from weshouman/Makefile
arduino cli tips
VERSION=0.14.0
SPECIFIER=arduino-cli_${VERSION}_Linux_64bit
BINDIR=/usr/local/bin/
# - Avoid redownloading
# - Avoid overwriting
# - To overwrite, use make uninstall
install:
TMPDIR=/tmp/$(SPECIFIER) && \
mkdir -p $${TMPDIR} && \