29 lines
594 B
Makefile
29 lines
594 B
Makefile
PROGRAM=fiatlux
|
|
|
|
EXTRA_CFLAGS=-O3 -Ibuild/gen
|
|
|
|
|
|
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 = dio
|
|
|
|
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 -o $@ $^
|
|
|
|
test: unittest systest
|
|
|
|
unittest:
|
|
true
|
|
|
|
systest:
|
|
true
|
|
|
|
.NOTPARALLEL: html all
|