PORT_SOURCES = lib/src/port/httpd-posix.c LIB_SOURCES = ${PORT_SOURCES} \ lib/src/utils/base64.c \ lib/src/utils/sha1.c \ lib/espfs/espfs.c \ lib/src/httpdespfs.c \ lib/src/httpd.c \ lib/src/httpd-loop.c \ lib/src/cgiwebsocket.c \ lib/heatshrink/heatshrink_decoder.c LIB_INCLUDES = -Ilib/include -Ilib/heatshrink -Ilib/espfs DEMO_SOURCES = main.c all: demo demo: ${LIB_SOURCES} ${DEMO_SOURCES} cc -g $^ -o $@ ${LIB_INCLUDES}