diff --git a/tutorials/core/embedded-filesystem/Makefile b/tutorials/core/embedded-filesystem/Makefile index 1d9b6676..197d3166 100644 --- a/tutorials/core/embedded-filesystem/Makefile +++ b/tutorials/core/embedded-filesystem/Makefile @@ -5,7 +5,7 @@ SOURCES = main.c mongoose.c packed_fs.c # Source code files CFLAGS = -W -Wall -Wextra -g -I. # Build options PACK = ./pack # Utility to pack files into a packed filesystem -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ # CFLAGS_MONGOOSE += FILES_TO_EMBED ?= $(wildcard web_root/*) diff --git a/tutorials/core/memory/o1heap/Makefile b/tutorials/core/memory/o1heap/Makefile index 93d4c48e..017b89ff 100644 --- a/tutorials/core/memory/o1heap/Makefile +++ b/tutorials/core/memory/o1heap/Makefile @@ -5,7 +5,7 @@ CFLAGS = -W -Wall -Wextra -g -I. # Build options SOURCES += o1heap/o1heap/o1heap.c CFLAGS += -Io1heap/o1heap -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_CUSTOM_CALLOC ifeq ($(OS),Windows_NT) diff --git a/tutorials/core/multi-threaded-12m/Makefile b/tutorials/core/multi-threaded-12m/Makefile index fc70b4e9..a1988d2f 100644 --- a/tutorials/core/multi-threaded-12m/Makefile +++ b/tutorials/core/multi-threaded-12m/Makefile @@ -1,7 +1,7 @@ SOURCES = main.c mongoose.c # Source code files CFLAGS = -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += ifeq ($(OS),Windows_NT) diff --git a/tutorials/core/multi-threaded/Makefile b/tutorials/core/multi-threaded/Makefile index fc70b4e9..a1988d2f 100644 --- a/tutorials/core/multi-threaded/Makefile +++ b/tutorials/core/multi-threaded/Makefile @@ -1,7 +1,7 @@ SOURCES = main.c mongoose.c # Source code files CFLAGS = -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += ifeq ($(OS),Windows_NT) diff --git a/tutorials/core/timers/Makefile b/tutorials/core/timers/Makefile index b231dd04..0f38857b 100644 --- a/tutorials/core/timers/Makefile +++ b/tutorials/core/timers/Makefile @@ -4,7 +4,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c mongoose.c # Source code files CFLAGS = -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/http/device-dashboard/Makefile b/tutorials/http/device-dashboard/Makefile index 3c24ecb2..da483c17 100644 --- a/tutorials/http/device-dashboard/Makefile +++ b/tutorials/http/device-dashboard/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c net.c packed_fs.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ # CFLAGS_MONGOOSE += ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/http/file-transfer/Makefile b/tutorials/http/file-transfer/Makefile index 6809000f..dfe91436 100644 --- a/tutorials/http/file-transfer/Makefile +++ b/tutorials/http/file-transfer/Makefile @@ -9,7 +9,7 @@ SSOURCES = server.c $(REPO_ROOT)/mongoose.c # Source code files CSOURCES = client.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ #CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/http/file-upload-html-form/Makefile b/tutorials/http/file-upload-html-form/Makefile index e9c61b72..4a2ef14d 100644 --- a/tutorials/http/file-upload-html-form/Makefile +++ b/tutorials/http/file-upload-html-form/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ #CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/http/file-upload-multiple-posts/Makefile b/tutorials/http/file-upload-multiple-posts/Makefile index e9c61b72..4a2ef14d 100644 --- a/tutorials/http/file-upload-multiple-posts/Makefile +++ b/tutorials/http/file-upload-multiple-posts/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ #CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/http/file-upload-single-post/Makefile b/tutorials/http/file-upload-single-post/Makefile index cbd45e3c..fe878db8 100644 --- a/tutorials/http/file-upload-single-post/Makefile +++ b/tutorials/http/file-upload-single-post/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ #CFLAGS_MONGOOSE += CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN diff --git a/tutorials/http/http-client/Makefile b/tutorials/http/http-client/Makefile index 4682b9ca..10145f3a 100644 --- a/tutorials/http/http-client/Makefile +++ b/tutorials/http/http-client/Makefile @@ -7,7 +7,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN diff --git a/tutorials/http/http-proxy-client/Makefile b/tutorials/http/http-proxy-client/Makefile index 93040c92..e0bfa39d 100644 --- a/tutorials/http/http-proxy-client/Makefile +++ b/tutorials/http/http-proxy-client/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c packed_fs.c # Source code files, packed_fs.c contains ca.pem, which contains CA certs for TLS CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 # See tutorial at https://mongoose.ws/tutorials/http-proxy-client/ diff --git a/tutorials/http/http-restful-server/Makefile b/tutorials/http/http-restful-server/Makefile index 8202977a..44fab853 100644 --- a/tutorials/http/http-restful-server/Makefile +++ b/tutorials/http/http-restful-server/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN diff --git a/tutorials/http/http-reverse-proxy/Makefile b/tutorials/http/http-reverse-proxy/Makefile index eaf2e826..d585dbec 100644 --- a/tutorials/http/http-reverse-proxy/Makefile +++ b/tutorials/http/http-reverse-proxy/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c packed_fs.c # Source code files, packed_fs.c contains ca.pem, which contains CA certs for TLS CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_IO_SIZE=128 -DMG_ENABLE_LINES=1 ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/http/http-server/Makefile b/tutorials/http/http-server/Makefile index 091d74ee..7edf6aa7 100644 --- a/tutorials/http/http-server/Makefile +++ b/tutorials/http/http-server/Makefile @@ -7,7 +7,7 @@ SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options #CFLAGS += -fsanitize=address,undefined,alignment -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_HTTP_DIRLIST_TIME_FMT="%Y/%m/%d %H:%M:%S" CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSI=1 CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN diff --git a/tutorials/http/http-streaming-client/Makefile b/tutorials/http/http-streaming-client/Makefile index 38406426..f3c1eda8 100644 --- a/tutorials/http/http-streaming-client/Makefile +++ b/tutorials/http/http-streaming-client/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c packed_fs.c # Source code files, packed_fs.c contains ca.pem, which contains CA certs for TLS CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/http/huge-response/Makefile b/tutorials/http/huge-response/Makefile index 3ed03ec1..6c41f202 100644 --- a/tutorials/http/huge-response/Makefile +++ b/tutorials/http/huge-response/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/http/jwt-auth/Makefile b/tutorials/http/jwt-auth/Makefile index b78358a2..e1c4db70 100644 --- a/tutorials/http/jwt-auth/Makefile +++ b/tutorials/http/jwt-auth/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN diff --git a/tutorials/http/link-checker/Makefile b/tutorials/http/link-checker/Makefile index 4682b9ca..10145f3a 100644 --- a/tutorials/http/link-checker/Makefile +++ b/tutorials/http/link-checker/Makefile @@ -7,7 +7,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN diff --git a/tutorials/http/redirect-to-https/Makefile b/tutorials/http/redirect-to-https/Makefile index 623b439d..7d55a36e 100644 --- a/tutorials/http/redirect-to-https/Makefile +++ b/tutorials/http/redirect-to-https/Makefile @@ -7,7 +7,7 @@ SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options #CFLAGS += -fsanitize=address,undefined,alignment -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_HTTP_DIRLIST_TIME_FMT="%Y/%m/%d %H:%M:%S" CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 -DMG_ENABLE_IPV6=1 -DMG_ENABLE_SSI=1 CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN diff --git a/tutorials/http/singleton-client/Makefile b/tutorials/http/singleton-client/Makefile index 42fcc540..d49e5b16 100644 --- a/tutorials/http/singleton-client/Makefile +++ b/tutorials/http/singleton-client/Makefile @@ -7,7 +7,7 @@ SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options #CFLAGS += -fsanitize=address,undefined,alignment -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN diff --git a/tutorials/http/uart-bridge/Makefile b/tutorials/http/uart-bridge/Makefile index 4049c5b4..eabb6e32 100644 --- a/tutorials/http/uart-bridge/Makefile +++ b/tutorials/http/uart-bridge/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c net.c packed_fs.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/http/video-stream/Makefile b/tutorials/http/video-stream/Makefile index e9c61b72..4a2ef14d 100644 --- a/tutorials/http/video-stream/Makefile +++ b/tutorials/http/video-stream/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ #CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/http/wifi-router-dashboard/Makefile b/tutorials/http/wifi-router-dashboard/Makefile index ce4eb2e4..f46a62c3 100644 --- a/tutorials/http/wifi-router-dashboard/Makefile +++ b/tutorials/http/wifi-router-dashboard/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c net.c packed_fs.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ # CFLAGS_MONGOOSE += ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/microchip/same54-xpro/device-dashboard/Makefile b/tutorials/microchip/same54-xpro/device-dashboard/Makefile index 170ee7cb..f63b340d 100644 --- a/tutorials/microchip/same54-xpro/device-dashboard/Makefile +++ b/tutorials/microchip/same54-xpro/device-dashboard/Makefile @@ -8,7 +8,7 @@ LDFLAGS ?= -Tlink.ld -nostartfiles -nostdlib --specs nano.specs -lc -lgcc -Wl,-- SOURCES = main.c syscalls.c startup.c -# Mongoose-specific source code files and build options. See https://mongoose.ws/documentation/#build-options +# Mongoose-specific source code files and build options. See https://mongoose.ws/docs/getting-started/build-environment/ SOURCES += mongoose.c net.c packed_fs.c CFLAGS += -DMG_ENABLE_TCPIP=1 -DMG_ARCH=MG_ARCH_ARMGCC -DMG_ENABLE_CUSTOM_MILLIS=1 -DMG_ENABLE_LINES=1 CFLAGS += -DMG_ENABLE_DRIVER_SAME54=1 -DMG_ENABLE_CUSTOM_RANDOM=1 $(CFLAGS_EXTRA) diff --git a/tutorials/microchip/same54-xpro/mqtt-client/Makefile b/tutorials/microchip/same54-xpro/mqtt-client/Makefile index fd7c6bea..0f73fe3c 100644 --- a/tutorials/microchip/same54-xpro/mqtt-client/Makefile +++ b/tutorials/microchip/same54-xpro/mqtt-client/Makefile @@ -8,7 +8,7 @@ LDFLAGS ?= -Tlink.ld -nostartfiles -nostdlib --specs nano.specs -lc -lgcc -Wl,-- SOURCES = main.c syscalls.c startup.c -# Mongoose-specific source code files and build options. See https://mongoose.ws/documentation/#build-options +# Mongoose-specific source code files and build options. See https://mongoose.ws/docs/getting-started/build-environment/ SOURCES += mongoose.c CFLAGS += -DMG_ENABLE_TCPIP=1 -DMG_ARCH=MG_ARCH_ARMGCC -DMG_ENABLE_CUSTOM_MILLIS=1 -DMG_ENABLE_LINES=1 CFLAGS += -DMG_ENABLE_DRIVER_SAME54=1 -DMG_ENABLE_CUSTOM_RANDOM=1 $(CFLAGS_EXTRA) diff --git a/tutorials/mqtt/mqtt-client-aws-iot/Makefile b/tutorials/mqtt/mqtt-client-aws-iot/Makefile index d1cd845c..bbb6d241 100644 --- a/tutorials/mqtt/mqtt-client-aws-iot/Makefile +++ b/tutorials/mqtt/mqtt-client-aws-iot/Makefile @@ -8,7 +8,7 @@ SOURCES = main.c $(REPO_ROOT)/mongoose.c mongoose_fs.c CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ # CFLAGS_MONGOOSE += ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/mqtt/mqtt-dashboard/device/Makefile b/tutorials/mqtt/mqtt-dashboard/device/Makefile index 73653b1a..1f899b46 100644 --- a/tutorials/mqtt/mqtt-dashboard/device/Makefile +++ b/tutorials/mqtt/mqtt-dashboard/device/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c net.c hal.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS ?= -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 ifeq ($(OS),Windows_NT) # Windows settings for MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feexample.exe diff --git a/tutorials/mqtt/mqtt-over-ws-client/Makefile b/tutorials/mqtt/mqtt-over-ws-client/Makefile index 38406426..f3c1eda8 100644 --- a/tutorials/mqtt/mqtt-over-ws-client/Makefile +++ b/tutorials/mqtt/mqtt-over-ws-client/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c packed_fs.c # Source code files, packed_fs.c contains ca.pem, which contains CA certs for TLS CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/mqtt/mqtt-server/Makefile b/tutorials/mqtt/mqtt-server/Makefile index 56017097..20d69d48 100644 --- a/tutorials/mqtt/mqtt-server/Makefile +++ b/tutorials/mqtt/mqtt-server/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/mqtt/ota-over-mqtt/Makefile b/tutorials/mqtt/ota-over-mqtt/Makefile index 73293d47..15dfb205 100644 --- a/tutorials/mqtt/ota-over-mqtt/Makefile +++ b/tutorials/mqtt/ota-over-mqtt/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files, packed_fs.c contains ca.pem, which contains CA certs for TLS CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 #CFLAGS_MONGOOSE += -DMG_TLS=MG_TLS_OPENSSL -L/opt/homebrew/opt/openssl/lib -I/opt/homebrew/opt/openssl/include -lssl -lcrypto diff --git a/tutorials/nxp/frdm-mcxe247/minimal/mongoose_config.h b/tutorials/nxp/frdm-mcxe247/minimal/mongoose_config.h index c4e40b58..abf97b18 100644 --- a/tutorials/nxp/frdm-mcxe247/minimal/mongoose_config.h +++ b/tutorials/nxp/frdm-mcxe247/minimal/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_TLS MG_TLS_BUILTIN diff --git a/tutorials/nxp/frdm-mcxn947/minimal/mongoose_config.h b/tutorials/nxp/frdm-mcxn947/minimal/mongoose_config.h index 98c7be19..2847ed54 100644 --- a/tutorials/nxp/frdm-mcxn947/minimal/mongoose_config.h +++ b/tutorials/nxp/frdm-mcxn947/minimal/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_TLS MG_TLS_BUILTIN #define MG_OTA MG_OTA_MCXN diff --git a/tutorials/nxp/frdm-rw612/minimal/mongoose_config.h b/tutorials/nxp/frdm-rw612/minimal/mongoose_config.h index ae942eff..a11aa31d 100644 --- a/tutorials/nxp/frdm-rw612/minimal/mongoose_config.h +++ b/tutorials/nxp/frdm-rw612/minimal/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_ENABLE_TCPIP 1 diff --git a/tutorials/nxp/rt1060-evkb/minimal/mongoose_config.h b/tutorials/nxp/rt1060-evkb/minimal/mongoose_config.h index 9885a54f..c6cb3ce6 100644 --- a/tutorials/nxp/rt1060-evkb/minimal/mongoose_config.h +++ b/tutorials/nxp/rt1060-evkb/minimal/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_TLS MG_TLS_BUILTIN #define MG_OTA MG_OTA_RT1060 diff --git a/tutorials/nxp/rt1170-evkb/minimal/mongoose_config.h b/tutorials/nxp/rt1170-evkb/minimal/mongoose_config.h index 44d80969..0d76dbfc 100644 --- a/tutorials/nxp/rt1170-evkb/minimal/mongoose_config.h +++ b/tutorials/nxp/rt1170-evkb/minimal/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_TLS MG_TLS_BUILTIN diff --git a/tutorials/renesas/ek-ra6m4-make-baremetal-builtin/mongoose_config.h b/tutorials/renesas/ek-ra6m4-make-baremetal-builtin/mongoose_config.h index db0a9ec9..00751018 100644 --- a/tutorials/renesas/ek-ra6m4-make-baremetal-builtin/mongoose_config.h +++ b/tutorials/renesas/ek-ra6m4-make-baremetal-builtin/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_ENABLE_TCPIP 1 diff --git a/tutorials/rp/w55rp20-evb-pico/mongoose_config.h b/tutorials/rp/w55rp20-evb-pico/mongoose_config.h index ed9a9fea..078452cd 100644 --- a/tutorials/rp/w55rp20-evb-pico/mongoose_config.h +++ b/tutorials/rp/w55rp20-evb-pico/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_PICOSDK #define MG_OTA MG_OTA_PICOSDK #define MG_TLS MG_TLS_BUILTIN diff --git a/tutorials/smtp/smtp-client/Makefile b/tutorials/smtp/smtp-client/Makefile index 38406426..f3c1eda8 100644 --- a/tutorials/smtp/smtp-client/Makefile +++ b/tutorials/smtp/smtp-client/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c packed_fs.c # Source code files, packed_fs.c contains ca.pem, which contains CA certs for TLS CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/stm32/nucleo-f429zi/minimal-rm2/mongoose/mongoose_config.h b/tutorials/stm32/nucleo-f429zi/minimal-rm2/mongoose/mongoose_config.h index 6cfe9273..d4235be3 100644 --- a/tutorials/stm32/nucleo-f429zi/minimal-rm2/mongoose/mongoose_config.h +++ b/tutorials/stm32/nucleo-f429zi/minimal-rm2/mongoose/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_ENABLE_TCPIP 1 diff --git a/tutorials/stm32/nucleo-f429zi/minimal-rndis/mongoose/mongoose_config.h b/tutorials/stm32/nucleo-f429zi/minimal-rndis/mongoose/mongoose_config.h index 4a164ad1..3ca999e1 100644 --- a/tutorials/stm32/nucleo-f429zi/minimal-rndis/mongoose/mongoose_config.h +++ b/tutorials/stm32/nucleo-f429zi/minimal-rndis/mongoose/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_ENABLE_TCPIP 1 diff --git a/tutorials/stm32/nucleo-f746zg/minimal-pppoe/mongoose/mongoose_config.h b/tutorials/stm32/nucleo-f746zg/minimal-pppoe/mongoose/mongoose_config.h index 3a1d52ef..f8426886 100644 --- a/tutorials/stm32/nucleo-f746zg/minimal-pppoe/mongoose/mongoose_config.h +++ b/tutorials/stm32/nucleo-f746zg/minimal-pppoe/mongoose/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_TLS MG_TLS_BUILTIN diff --git a/tutorials/stm32/nucleo-f746zg/minimal-rm2/mongoose/mongoose_config.h b/tutorials/stm32/nucleo-f746zg/minimal-rm2/mongoose/mongoose_config.h index 6cfe9273..d4235be3 100644 --- a/tutorials/stm32/nucleo-f746zg/minimal-rm2/mongoose/mongoose_config.h +++ b/tutorials/stm32/nucleo-f746zg/minimal-rm2/mongoose/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_ENABLE_TCPIP 1 diff --git a/tutorials/stm32/nucleo-f746zg/minimal-rndis/mongoose/mongoose_config.h b/tutorials/stm32/nucleo-f746zg/minimal-rndis/mongoose/mongoose_config.h index 4a164ad1..3ca999e1 100644 --- a/tutorials/stm32/nucleo-f746zg/minimal-rndis/mongoose/mongoose_config.h +++ b/tutorials/stm32/nucleo-f746zg/minimal-rndis/mongoose/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_ENABLE_TCPIP 1 diff --git a/tutorials/stm32/nucleo-f746zg/minimal/mongoose/mongoose_config.h b/tutorials/stm32/nucleo-f746zg/minimal/mongoose/mongoose_config.h index 08bf0665..a43c2fd8 100644 --- a/tutorials/stm32/nucleo-f746zg/minimal/mongoose/mongoose_config.h +++ b/tutorials/stm32/nucleo-f746zg/minimal/mongoose/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_TLS MG_TLS_BUILTIN diff --git a/tutorials/stm32/nucleo-g031k8/minimal-w5500/mongoose/mongoose_config.h b/tutorials/stm32/nucleo-g031k8/minimal-w5500/mongoose/mongoose_config.h index f57db404..43830256 100644 --- a/tutorials/stm32/nucleo-g031k8/minimal-w5500/mongoose/mongoose_config.h +++ b/tutorials/stm32/nucleo-g031k8/minimal-w5500/mongoose/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_ENABLE_TCPIP 1 diff --git a/tutorials/stm32/nucleo-h563zi/minimal/mongoose_config.h b/tutorials/stm32/nucleo-h563zi/minimal/mongoose_config.h index d8a72d25..2f6b10dd 100644 --- a/tutorials/stm32/nucleo-h563zi/minimal/mongoose_config.h +++ b/tutorials/stm32/nucleo-h563zi/minimal/mongoose_config.h @@ -1,7 +1,7 @@ #pragma once #include "hal.h" -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_TLS MG_TLS_BUILTIN #define MG_IO_SIZE 2048 diff --git a/tutorials/stm32/nucleo-h743zi/minimal/mongoose/mongoose_config.h b/tutorials/stm32/nucleo-h743zi/minimal/mongoose/mongoose_config.h index 7ad8280d..9bea9b78 100644 --- a/tutorials/stm32/nucleo-h743zi/minimal/mongoose/mongoose_config.h +++ b/tutorials/stm32/nucleo-h743zi/minimal/mongoose/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_TLS MG_TLS_BUILTIN #define MG_OTA MG_OTA_STM32H7 diff --git a/tutorials/stm32/nucleo-u5a5zj-q/minimal/mongoose/mongoose_config.h b/tutorials/stm32/nucleo-u5a5zj-q/minimal/mongoose/mongoose_config.h index 7d9e8c76..012247d5 100644 --- a/tutorials/stm32/nucleo-u5a5zj-q/minimal/mongoose/mongoose_config.h +++ b/tutorials/stm32/nucleo-u5a5zj-q/minimal/mongoose/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_ENABLE_TCPIP 1 diff --git a/tutorials/stm32/portenta-h7/minimal/mongoose/mongoose_config.h b/tutorials/stm32/portenta-h7/minimal/mongoose/mongoose_config.h index a207ea00..0960a802 100644 --- a/tutorials/stm32/portenta-h7/minimal/mongoose/mongoose_config.h +++ b/tutorials/stm32/portenta-h7/minimal/mongoose/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_TLS MG_TLS_BUILTIN diff --git a/tutorials/stm32/stm32h747i-disco/minimal/mongoose/mongoose_config.h b/tutorials/stm32/stm32h747i-disco/minimal/mongoose/mongoose_config.h index ae8942ce..87806ec1 100644 --- a/tutorials/stm32/stm32h747i-disco/minimal/mongoose/mongoose_config.h +++ b/tutorials/stm32/stm32h747i-disco/minimal/mongoose/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_TLS MG_TLS_BUILTIN #define MG_OTA MG_OTA_STM32H7_DUAL_CORE diff --git a/tutorials/tcp/modbus-dashboard/Makefile b/tutorials/tcp/modbus-dashboard/Makefile index 7f10ed0c..3a57ef25 100644 --- a/tutorials/tcp/modbus-dashboard/Makefile +++ b/tutorials/tcp/modbus-dashboard/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c net.c packed_fs.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ # CFLAGS_MONGOOSE += ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/tcp/rtsp-video-stream/Makefile b/tutorials/tcp/rtsp-video-stream/Makefile index 00a9e54b..b1d9251f 100644 --- a/tutorials/tcp/rtsp-video-stream/Makefile +++ b/tutorials/tcp/rtsp-video-stream/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c rtsp.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ #CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/tcp/socks5-server/Makefile b/tutorials/tcp/socks5-server/Makefile index 56017097..20d69d48 100644 --- a/tutorials/tcp/socks5-server/Makefile +++ b/tutorials/tcp/socks5-server/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/tcp/tcp/Makefile b/tutorials/tcp/tcp/Makefile index 775a6ee5..4f8cb1a4 100644 --- a/tutorials/tcp/tcp/Makefile +++ b/tutorials/tcp/tcp/Makefile @@ -7,7 +7,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c packed_fs.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ # CFLAGS_MONGOOSE += ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/tcpip/pcap-driver/Makefile b/tutorials/tcpip/pcap-driver/Makefile index 4a121008..539beb56 100644 --- a/tutorials/tcpip/pcap-driver/Makefile +++ b/tutorials/tcpip/pcap-driver/Makefile @@ -5,7 +5,7 @@ SOURCES = main.c mongoose.c CFLAGS = -W -Wall -Wextra -g -I. CFLAGS += -lpcap -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 -DMG_ENABLE_TCPIP=1 -DMG_ENABLE_SOCKET=0 CFLAGS_MONGOOSE += -DMG_ENABLE_TCPIP_DRIVER_INIT=0 CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN diff --git a/tutorials/tcpip/tap-driver/Makefile b/tutorials/tcpip/tap-driver/Makefile index 202e3dbe..5c8fc8c9 100644 --- a/tutorials/tcpip/tap-driver/Makefile +++ b/tutorials/tcpip/tap-driver/Makefile @@ -4,7 +4,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c mongoose.c net.c packed_fs.c # Source code files CFLAGS = -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 -DMG_ENABLE_TCPIP=1 -DMG_ENABLE_SOCKET=0 -DMG_ENABLE_TCPIP_DRIVER_INIT=0 # Example specific build options. See README.md diff --git a/tutorials/ti/ek-tm4c1294xl-make-baremetal-builtin-rndis/mongoose_config.h b/tutorials/ti/ek-tm4c1294xl-make-baremetal-builtin-rndis/mongoose_config.h index 2fbe9bbe..4f8c3646 100644 --- a/tutorials/ti/ek-tm4c1294xl-make-baremetal-builtin-rndis/mongoose_config.h +++ b/tutorials/ti/ek-tm4c1294xl-make-baremetal-builtin-rndis/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_ENABLE_TCPIP 1 diff --git a/tutorials/udp/captive-dns-server/Makefile b/tutorials/udp/captive-dns-server/Makefile index 35807705..a2604052 100644 --- a/tutorials/udp/captive-dns-server/Makefile +++ b/tutorials/udp/captive-dns-server/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_IO_SIZE=8192 -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/udp/mdns-client/Makefile b/tutorials/udp/mdns-client/Makefile index 56017097..20d69d48 100644 --- a/tutorials/udp/mdns-client/Makefile +++ b/tutorials/udp/mdns-client/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/udp/mdns-sd-client/Makefile b/tutorials/udp/mdns-sd-client/Makefile index 56017097..20d69d48 100644 --- a/tutorials/udp/mdns-sd-client/Makefile +++ b/tutorials/udp/mdns-sd-client/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/udp/mdns-sd-server/Makefile b/tutorials/udp/mdns-sd-server/Makefile index 56017097..20d69d48 100644 --- a/tutorials/udp/mdns-sd-server/Makefile +++ b/tutorials/udp/mdns-sd-server/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/udp/mdns-server/Makefile b/tutorials/udp/mdns-server/Makefile index 56017097..20d69d48 100644 --- a/tutorials/udp/mdns-server/Makefile +++ b/tutorials/udp/mdns-server/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/udp/sntp-time-sync/Makefile b/tutorials/udp/sntp-time-sync/Makefile index 56017097..20d69d48 100644 --- a/tutorials/udp/sntp-time-sync/Makefile +++ b/tutorials/udp/sntp-time-sync/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/udp/ssdp-search/Makefile b/tutorials/udp/ssdp-search/Makefile index e9c61b72..4a2ef14d 100644 --- a/tutorials/udp/ssdp-search/Makefile +++ b/tutorials/udp/ssdp-search/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ #CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/wch/ch32v307-make-baremetal-builtin/mongoose_config.h b/tutorials/wch/ch32v307-make-baremetal-builtin/mongoose_config.h index 05f00715..c3316ffb 100644 --- a/tutorials/wch/ch32v307-make-baremetal-builtin/mongoose_config.h +++ b/tutorials/wch/ch32v307-make-baremetal-builtin/mongoose_config.h @@ -1,6 +1,6 @@ #pragma once -// See https://mongoose.ws/documentation/#build-options +// See https://mongoose.ws/docs/getting-started/build-environment/ #define MG_ARCH MG_ARCH_ARMGCC #define MG_OTA MG_OTA_CH32V307 diff --git a/tutorials/websocket/json-rpc-over-websocket/Makefile b/tutorials/websocket/json-rpc-over-websocket/Makefile index e9c61b72..4a2ef14d 100644 --- a/tutorials/websocket/json-rpc-over-websocket/Makefile +++ b/tutorials/websocket/json-rpc-over-websocket/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ #CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/websocket/websocket-client/Makefile b/tutorials/websocket/websocket-client/Makefile index 80869f0a..58ff7cdb 100644 --- a/tutorials/websocket/websocket-client/Makefile +++ b/tutorials/websocket/websocket-client/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ #CFLAGS_MONGOOSE += -DMG_ENABLE_LINES CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN diff --git a/tutorials/websocket/websocket-server/Makefile b/tutorials/websocket/websocket-server/Makefile index fda5d16f..cd299b28 100644 --- a/tutorials/websocket/websocket-server/Makefile +++ b/tutorials/websocket/websocket-server/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN diff --git a/tutorials/webui/live-log/Makefile b/tutorials/webui/live-log/Makefile index e9c61b72..4a2ef14d 100644 --- a/tutorials/webui/live-log/Makefile +++ b/tutorials/webui/live-log/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ #CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/webui/webui-login/Makefile b/tutorials/webui/webui-login/Makefile index 56017097..20d69d48 100644 --- a/tutorials/webui/webui-login/Makefile +++ b/tutorials/webui/webui-login/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/webui/webui-plain/Makefile b/tutorials/webui/webui-plain/Makefile index 56017097..20d69d48 100644 --- a/tutorials/webui/webui-plain/Makefile +++ b/tutorials/webui/webui-plain/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/webui/webui-preact/Makefile b/tutorials/webui/webui-preact/Makefile index 56017097..20d69d48 100644 --- a/tutorials/webui/webui-preact/Makefile +++ b/tutorials/webui/webui-preact/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/webui/webui-push-rest/Makefile b/tutorials/webui/webui-push-rest/Makefile index 56017097..20d69d48 100644 --- a/tutorials/webui/webui-push-rest/Makefile +++ b/tutorials/webui/webui-push-rest/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/webui/webui-push-ws/Makefile b/tutorials/webui/webui-push-ws/Makefile index 56017097..20d69d48 100644 --- a/tutorials/webui/webui-push-ws/Makefile +++ b/tutorials/webui/webui-push-ws/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe diff --git a/tutorials/webui/webui-rest/Makefile b/tutorials/webui/webui-rest/Makefile index 56017097..20d69d48 100644 --- a/tutorials/webui/webui-rest/Makefile +++ b/tutorials/webui/webui-rest/Makefile @@ -6,7 +6,7 @@ OUT ?= -o $(PROG) # Compiler argument for output file SOURCES = main.c $(REPO_ROOT)/mongoose.c # Source code files CFLAGS = -I$(REPO_ROOT) -W -Wall -Wextra -g -I. # Build options -# Mongoose build options. See https://mongoose.ws/documentation/#build-options +# Mongoose build options. See https://mongoose.ws/docs/getting-started/build-environment/ CFLAGS_MONGOOSE += -DMG_ENABLE_LINES ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe