28 lines
598 B
Makefile
28 lines
598 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
|
|
|
|
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
|