2019-01-24 21:29:32 +01:00
|
|
|
|
|
|
|
summary ?= @true
|
|
|
|
|
2018-06-23 01:37:31 +02:00
|
|
|
CC =gcc
|
|
|
|
|
2016-06-05 23:10:58 +02:00
|
|
|
SRCS=\
|
|
|
|
main.c \
|
|
|
|
../../app/spiffs/spiffs_cache.c ../../app/spiffs/spiffs_check.c ../../app/spiffs/spiffs_gc.c ../../app/spiffs/spiffs_hydrogen.c ../../app/spiffs/spiffs_nucleus.c
|
|
|
|
|
2016-10-27 08:38:47 +02:00
|
|
|
CFLAGS=-g -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -I. -I../../app/spiffs -I../../app/include -DNODEMCU_SPIFFS_NO_INCLUDE --include spiffs_typedefs.h -Ddbg_printf=printf
|
2016-06-05 23:10:58 +02:00
|
|
|
|
|
|
|
spiffsimg: $(SRCS)
|
2018-12-09 21:39:43 +01:00
|
|
|
$(summary) HOSTCC $(CURDIR)/$<
|
2016-06-05 23:10:58 +02:00
|
|
|
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f spiffsimg
|