start moving to new skeleton

This commit is contained in:
Sergio R. Caprile 2024-04-23 14:57:17 -03:00
parent 71a48ccde0
commit 5345c7260e
20 changed files with 14 additions and 6 deletions

View File

@ -1 +0,0 @@
See detailed tutorial at https://mongoose.ws/tutorials/timers/

View File

@ -1 +0,0 @@
../../mongoose.c

View File

@ -1 +0,0 @@
../../mongoose.h

View File

@ -1,7 +1,6 @@
# Environment setup: https://mongoose.ws/documentation/tutorials/tools/ # Environment setup: https://mongoose.ws/documentation/tutorials/tools/
PROG ?= ./example # Program we are building PROG ?= ./example # Program we are building
PACK ?= ./pack # Packing executable
DELETE = rm -rf # Command to remove files DELETE = rm -rf # Command to remove files
NPX ?= npx # For generating optimised tailwind CSS NPX ?= npx # For generating optimised tailwind CSS
OUT ?= -o $(PROG) # Compiler argument for output file OUT ?= -o $(PROG) # Compiler argument for output file
@ -16,7 +15,6 @@ CFLAGS_MONGOOSE += -DMG_ENABLE_PACKED_FS=1
ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC: make CC=cl CFLAGS=/MD OUT=/Feprog.exe 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 PROG = example.exe # Use .exe suffix for the binary
PACK = pack.exe # Packing executable
CC = gcc # Use MinGW gcc compiler CC = gcc # Use MinGW gcc compiler
CFLAGS += -lws2_32 # Link against Winsock library CFLAGS += -lws2_32 # Link against Winsock library
DELETE = cmd /C del /Q /F /S # Command prompt command to delete files DELETE = cmd /C del /Q /F /S # Command prompt command to delete files
@ -48,4 +46,4 @@ packed_fs.c: $(wildcard web_root/*) $(wildcard certs/*) Makefile
# Cleanup. Delete built program and all build artifacts # Cleanup. Delete built program and all build artifacts
clean: clean:
$(DELETE) $(PROG) $(PACK) *.o *.obj *.exe *.dSYM mbedtls $(DELETE) $(PROG) *.o *.obj *.exe *.dSYM mbedtls

1
tutorials/core/README.md Normal file
View File

@ -0,0 +1 @@
See detailed tutorials at https://mongoose.ws/documentation/#core

View File

@ -0,0 +1 @@
See detailed tutorial at https://mongoose.ws/tutorials/core/timers/

View File

@ -0,0 +1 @@
../../../mongoose.c

View File

@ -0,0 +1 @@
../../../mongoose.h

View File

@ -0,0 +1 @@
See detailed tutorials at https://mongoose.ws/documentation/#http

View File

@ -0,0 +1 @@
See detailed tutorials at https://mongoose.ws/documentation/#mqtt

View File

@ -0,0 +1 @@
See detailed tutorials at https://mongoose.ws/documentation/#smtp

1
tutorials/tcp/README.md Normal file
View File

@ -0,0 +1 @@
See detailed tutorials at https://mongoose.ws/documentation/#tcp

View File

@ -0,0 +1 @@
See detailed tutorials at https://mongoose.ws/documentation/#tcpip-stack

View File

@ -0,0 +1 @@
See detailed tutorials at https://mongoose.ws/documentation/#ssltls

View File

@ -0,0 +1 @@
See detailed tutorials at https://mongoose.ws/documentation/#udp

View File

@ -0,0 +1 @@
See detailed tutorials at https://mongoose.ws/documentation/#websocket

View File

@ -0,0 +1 @@
See detailed tutorials at https://mongoose.ws/documentation/#web-ui