2014-08-03 19:40:10 +08:00
|
|
|
# Copyright (c) 2014 Cesanta Software
|
|
|
|
# All rights reserved
|
|
|
|
|
|
|
|
PROG = ws_ssl
|
2014-10-14 18:05:12 +08:00
|
|
|
CFLAGS = -W -Wall -I../.. -I. -pthread -g -O0 $(CFLAGS_EXTRA)
|
2014-10-15 21:29:22 +08:00
|
|
|
SOURCES = ws_ssl.c ../../mongoose.c ssl_wrapper.c
|
2014-08-03 19:40:10 +08:00
|
|
|
|
2014-09-10 00:00:49 +08:00
|
|
|
all: $(PROG)
|
|
|
|
|
|
|
|
$(PROG): $(SOURCES)
|
2014-08-03 19:40:10 +08:00
|
|
|
$(CC) -o $(PROG) $(SOURCES) \
|
2014-10-15 21:29:22 +08:00
|
|
|
-DNS_ENABLE_SSL -DSSL_WRAPPER_USE_AS_LIBRARY -lssl $(CFLAGS)
|
2014-08-03 19:40:10 +08:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(PROG) *.exe *.dSYM *.obj *.exp .*o *.lib
|