mongoose/examples/netcat/Makefile
rojer 04a38b446f Fix compilation with MG_DISABLE_HTTP_WEBSOCKET
Make restful_server and netcat examples compilation tests:
 - netcat doesn't use HTTP, compile it with MG_DISABLE_HTTP
 - restful_server doesn't use websocket, compile it with
   MG_DISABLE_HTTP_WEBSOCKET

h/t @labourcier, cesanta/mongoose#665

PUBLISHED_FROM=4494ac3cbd81e8314beb557ab301b4b44c4afb89
2016-06-07 16:43:24 +02:00

5 lines
101 B
Makefile

PROG = nc
MODULE_CFLAGS=-DMG_ENABLE_THREADS -DMG_DISABLE_HTTP
SSL_LIB=openssl
include ../examples.mk