TARGET=mkespfsimage SOURCES = main.c parsing.c \ ../spritehttpd/lib/heatshrink/heatshrink_encoder.c \ ../spritehttpd/lib/heatshrink/heatshrink_decoder.c \ ../spritehttpd/lib/espfs/espfs.c CFLAGS = -I. \ -I../spritehttpd/lib/heatshrink/ \ -I../spritehttpd/lib/espfs/ \ -DZLIB_CONST all: $(TARGET) $(TARGET): ${SOURCES} cc -O3 -lz $^ -o $@ ${CFLAGS} clean: rm $(TARGET)