Skip to content

Commit

Permalink
keep TLS options as per the TLS tutorial. Default to built-in TLS whi…
Browse files Browse the repository at this point in the history
…le allowing to use other stacks, as tutorials show
  • Loading branch information
scaprile committed Dec 23, 2024
1 parent 553aeee commit 90e4228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/websocket/websocket-client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ DELETE = rm -rf # Command to remove files
OUT ?= -o $(PROG) # Compiler argument for output file
SOURCES = main.c mongoose.c # Source code files
CFLAGS = -W -Wall -Wextra -g -I. # Build options
CFLAGS_MONGOOSE ?= -DMG_TLS=MG_TLS_BUILTIN

# Mongoose build options. See https://mongoose.ws/documentation/#build-options
#CFLAGS_MONGOOSE += -DMG_ENABLE_LINES
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
Expand Down

0 comments on commit 90e4228

Please sign in to comment.