Makefile: add build system - timed-remote - Flipper Zero app for sending delayed IR commands
HTML git clone git://src.adamsgaard.dk/timed-remote
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 302f38bbcea02801e91d0e1f2e97cdbbce73c68f
DIR parent b1ef8943e92351dbe38907e3d778df00b9a8598d
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 30 Jan 2026 22:04:50 +0100
Makefile: add build system
Diffstat:
A Makefile | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+), 0 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -0,0 +1,28 @@
+.POSIX:
+
+PYENV = ~/.ufbt/pyenv
+BUILDER = ${PYENV}/bin/ufbt
+BIN = dist/timed_remote.fap
+
+SRC = \
+ application.fam \
+ timed_remote.c \
+
+dist/timed_remote.fap: ${BUILDER} ${SRC} ${PYENV}
+ ${BUILDER}
+
+${BUILDER}: requirements.txt ${PYENV}
+ ${PYENV}/bin/pip install -r requirements.txt
+
+${PYENV}:
+ mkdir -p ${PYENV}
+ python3 -m venv ${PYENV}
+
+start: ${BIN}
+ # requires USB connection to flipper
+ ${BUILDER} launch
+
+clean:
+ rm -rf dist
+
+.PHONY: start clean