fiatlux/firmware/Makefile
jedi 60766a0c0b
Some checks failed
continuous-integration/drone/push Build is failing
stash
2023-02-12 12:19:08 +01:00

28 lines
656 B
Makefile

PROGRAM=fiatlux
EXTRA_CFLAGS=-O3 -Ibuild/gen -DLWIP_NETIF_HOSTNAME=1 -DFLATBUFFERS_PREFER_PRINTF=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