lvgl-rs-wasm/Makefile

12 lines
212 B
Makefile
Raw Normal View History

2020-09-22 08:10:10 +00:00
all: web native
web:
2020-09-24 13:09:30 +00:00
cargo build --release --target wasm32-unknown-emscripten
2020-09-22 08:10:10 +00:00
native:
2020-09-24 13:09:30 +00:00
cargo build --release
2020-09-22 08:10:10 +00:00
serve:
@echo "Available at http://localhost:8000/lvgl_example.html"
@python3 -m http.server 8000