Skip to content

Commit 0238ef3

Browse files
committed
unbreak AWS example and associated tests
1 parent 7bda43a commit 0238ef3

File tree

1 file changed

+5
-3
lines changed
  • tutorials/mqtt/mqtt-client-aws-iot

1 file changed

+5
-3
lines changed

tutorials/mqtt/mqtt-client-aws-iot/Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ SOURCES = main.c mongoose.c mongoose_fs.c
66

77
# Mongoose build options. See https://mongoose.ws/documentation/#build-options
88
CFLAGS_MONGOOSE += -DMG_ENABLE_PACKED_FS=1
9-
#CFLAGS_MONGOOSE += -DMG_TLS=MG_TLS_BUILTIN
10-
CFLAGS_MONGOOSE += -DMG_TLS=MG_TLS_OPENSSL -lssl -lcrypto -I/opt/homebrew/opt/[email protected]/include/ -L/opt/homebrew/opt/[email protected]/lib
11-
#CFLAGS_MONGOOSE += -DMG_TLS=MG_TLS_MBED -lmbedtls -lmbedcrypto -lmbedx509 -I/opt/homebrew/opt/mbedtls/include/ -L/opt/homebrew/opt/mbedtls/lib
129

1310
ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe
1411
PROG ?= example.exe # Use .exe suffix for the binary
@@ -34,3 +31,8 @@ mongoose_fs.c: ca.pem crt.pem key.pem
3431

3532
clean:
3633
$(DELETE) $(PROG) *.o *.obj *.exe *.dSYM mbedtls
34+
35+
example: FORCE
36+
touch mongoose_fs.c
37+
38+
FORCE:

0 commit comments

Comments
 (0)