Makefile - 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
---
Makefile (772B)
---
1 .POSIX:
2
3 PYENV = ~/.ufbt/pyenv
4 BUILDER = ${PYENV}/bin/ufbt
5 BIN = dist/timed_remote.fap
6
7 SRC = \
8 application.fam \
9 timed_remote.c \
10 timed_remote.h \
11 helpers/ir_helper.c \
12 helpers/ir_helper.h \
13 helpers/time_helper.c \
14 helpers/time_helper.h \
15 scenes/timed_remote_scene.c \
16 scenes/timed_remote_scene.h \
17 scenes/scene_ir_browse.c \
18 scenes/scene_ir_select.c \
19 scenes/scene_timer_config.c \
20 scenes/scene_timer_running.c \
21 scenes/scene_confirm.c \
22
23 dist/timed_remote.fap: ${BUILDER} ${SRC} ${PYENV}
24 ${BUILDER}
25
26 ${BUILDER}: requirements.txt ${PYENV}
27 ${PYENV}/bin/pip install -r requirements.txt
28
29 ${PYENV}:
30 mkdir -p ${PYENV}
31 python3 -m venv ${PYENV}
32
33 start: ${BIN}
34 # requires USB connection to flipper
35 ${BUILDER} launch
36
37 clean:
38 rm -rf dist
39
40 .PHONY: start clean