From 71f5556de7d45badffbbde95a36b82e2cb6560c6 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Tue, 3 Feb 2026 15:41:47 -0300 Subject: [PATCH] standardize Makefile --- tutorials/http/singleton-client/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tutorials/http/singleton-client/Makefile b/tutorials/http/singleton-client/Makefile index 82aa7dcf..cf001a01 100644 --- a/tutorials/http/singleton-client/Makefile +++ b/tutorials/http/singleton-client/Makefile @@ -7,9 +7,7 @@ CFLAGS = -W -Wall -Wextra -g -I. # Build options # Mongoose build options. See https://mongoose.ws/documentation/#build-options CFLAGS_MONGOOSE += -DMG_ENABLE_LINES=1 -CFLAGS_MONGOOSE += -DMG_TLS=MG_TLS_BUILTIN -#CFLAGS_MONGOOSE += -DMG_TLS=MG_TLS_OPENSSL -L/opt/homebrew/opt/openssl/lib -I/opt/homebrew/opt/openssl/include -lssl -lcrypto -#CFLAGS_MONGOOSE += -DMG_TLS=MG_TLS_MBED -L/opt/homebrew/opt/mbedtls/lib -I/opt/homebrew/opt/mbedtls/include -lmbedtls -lmbedcrypto -lmbedx509 +CFLAGS_EXTRA ?= -DMG_TLS=MG_TLS_BUILTIN ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe PROG ?= example.exe # Use .exe suffix for the binary