fiatlux/firmware/Makefile

29 lines
574 B
Makefile
Raw Normal View History

2021-06-19 14:42:38 +00:00
PROGRAM=fiatlux
2021-09-09 00:35:15 +00:00
EXTRA_CFLAGS=-O3 -Ibuild/gen
2021-06-19 14:42:38 +00:00
2021-08-28 21:44:01 +00:00
EXTRA_COMPONENTS=extras/i2s_dma extras/ws2812_i2s extras/dhcpserver extras/rboot-ota extras/mbedtls extras/httpd extras/sntp extras/cpp_support
2021-06-19 14:42:38 +00:00
LIBS = hal m
FLASH_MODE = dio
include ../modules/rtos/common.mk
2021-09-09 00:35:15 +00:00
html: build/gen/fsdata.c
2021-07-29 13:42:05 +00:00
2021-09-09 00:35:15 +00:00
build/gen/fsdata.c: webdir/index.html webdir/404.html webdir/css/picnic.min.css webdir/css/style.css webdir/js/smoothie_min.js
2021-06-19 14:42:38 +00:00
@echo "Generating fsdata.."
2021-09-09 00:35:15 +00:00
@mkdir -p $(dir $@)
@./mkwebfs.py --gzip -o $@ $^
2021-06-19 14:42:38 +00:00
test: unittest systest
unittest:
true
systest:
true
2021-07-18 23:25:27 +00:00
2021-09-09 00:35:15 +00:00
.NOTPARALLEL: html all