diff --git a/examples/http-server/Makefile b/examples/http-server/Makefile index b371a54c..27fc706b 100644 --- a/examples/http-server/Makefile +++ b/examples/http-server/Makefile @@ -15,6 +15,9 @@ $(PROG): main.c Makefile mongoose.exe: main.c $(VC98) wine cl ../../mongoose.c main.c $(VCFLAGS) ws2_32.lib /out:$@ +mingw: + gcc ../../mongoose.c main.c -I../.. -W -Wall -DMG_ENABLE_IPV6=1 -DMG_ENABLE_LINES=1 -D_POSIX_C_SOURCE=200000L -lws2_32 -o mongoose.exe + linux: all linux: CFLAGS += -O2 -fsanitize=address,undefined,shift,null,return,bounds,alignment,object-size,bool,enum -static-libasan #linux: CC = $(LIN) cc