fiatlux/firmware/Makefile
jedi 8209a9a936
Some checks failed
continuous-integration/drone/push Build is failing
minify web content
2023-02-12 08:54:29 +01:00

28 lines
626 B
Makefile

PROGRAM=fiatlux
EXTRA_CFLAGS=-O3 -Ibuild/gen -DLWIP_NETIF_HOSTNAME=1
EXTRA_COMPONENTS=extras/i2s_dma extras/ws2812_i2s extras/dhcpserver extras/rboot-ota extras/mbedtls extras/httpd extras/sntp extras/cpp_support extras/paho_mqtt_c
LIBS = hal m
FLASH_MODE = qio
include ../modules/rtos/common.mk
html: build/gen/fsdata.c
build/gen/fsdata.c: webdir/index.html webdir/404.html webdir/css/picnic.min.css webdir/css/style.css webdir/js/smoothie_min.js
@echo "Generating fsdata.."
@mkdir -p $(dir $@)
@./mkwebfs.py --gzip --minify -o $@ $^
test: unittest systest
unittest:
true
systest:
true
.NOTPARALLEL: html all