timed-remote

Flipper Zero app for sending delayed IR commands
git clone git://src.adamsgaard.dk/timed-remote # fast
git clone https://src.adamsgaard.dk/timed-remote.git # slow
Log | Files | Refs | README | LICENSE Back to index

Makefile (450B)


      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 
     11 dist/timed_remote.fap: ${BUILDER} ${SRC} ${PYENV}
     12 	${BUILDER}
     13 
     14 ${BUILDER}: requirements.txt ${PYENV}
     15 	${PYENV}/bin/pip install -r requirements.txt
     16 
     17 ${PYENV}:
     18 	mkdir -p ${PYENV}
     19 	python3 -m venv ${PYENV}
     20 
     21 start: ${BIN}
     22 	# requires USB connection to flipper
     23 	${BUILDER} launch
     24 
     25 clean:
     26 	rm -rf dist
     27 
     28 .PHONY: start clean