Fix mongoose/examples compilation with mingw

PUBLISHED_FROM=46800f43ba03082cc589d70e6118d754f4cdc9d0
This commit is contained in:
Alexander Alashkin authored and Marko Mikulicic committed 2016-03-10 13:11:22 +01:00
1 parent 4927195ee4
commit df311203dc
21 files changed
+61 -243

No files matched your search

+2 -13
View File
@@ -1,14 +1,3 @@
PROG = http_client
SOURCES = $(PROG).c ../../mongoose.c
CFLAGS = -W -Wall -I../.. -DMG_ENABLE_SSL -lssl -lcrypto -pthread $(CFLAGS_EXTRA)
all: $(PROG)
$(PROG): $(SOURCES)
$(CC) $(SOURCES) -o $@ $(CFLAGS)
$(PROG).exe: $(SOURCES)
cl $(SOURCES) /I../.. /MD /Fe$@
clean:
rm -rf *.gc* *.dSYM *.exe *.obj *.o a.out $(PROG)
SSL_LIB=open_ssl
include ../examples.mk