espruino-starter/makefile

20 lines
209 B
Makefile
Raw Permalink Normal View History

2021-08-23 23:28:41 +03:00
ESP := espruino -j espruino.json
watch: build-w
all: build
build: clean
$(ESP) main.js -o target.js
build-w:
$(ESP) main.js -w
clean:
rm -f target.js
ide:
$(ESP) --ide
deps:
npm install -g espruino