Commit c581b5e5 authored by Alexander Alashkin's avatar Alexander Alashkin Committed by Marko Mikulicic

Add mg/examples-wine to OurCI

    PUBLISHED_FROM=2781248e982719cda495370a373f66d6e4213d83
parent df311203
# Copyright (c) 2014 Cesanta Software # Copyright (c) 2014 Cesanta Software
# All rights reserved # All rights reserved
SUBDIRS = $(sort $(dir $(wildcard */))) # `wildcard ./*/` works in both linux and linux/wine, while `wildcard */` enumerates nothing under wine
SUBDIRS = $(sort $(dir $(wildcard ./*/)))
SUBDIRS:=$(filter-out ./, $(SUBDIRS))
ifeq ($(OS), Windows_NT) ifeq ($(OS), Windows_NT)
SUBDIRS:=$(filter-out load_balancer/ netcat/ raspberry_pi_mjpeg_led/, $(SUBDIRS)) SUBDIRS:=$(filter-out ./load_balancer/ ./netcat/ ./raspberry_pi_mjpeg_led/ ./captive_dns_server/, $(SUBDIRS))
endif endif
.PHONY: $(SUBDIRS) .PHONY: $(SUBDIRS)
......
...@@ -5,7 +5,7 @@ CFLAGS = -W -Wall $(CFLAGS_EXTRA) ...@@ -5,7 +5,7 @@ CFLAGS = -W -Wall $(CFLAGS_EXTRA)
ifeq ($(OS), Windows_NT) ifeq ($(OS), Windows_NT)
CFLAGS += -lws2_32 -D_MG_PROVIDE_STRNLEN CFLAGS += -lws2_32 -D_MG_PROVIDE_STRNLEN
CC = mingw32-gcc CC = gcc
else else
UNAME_S := $(shell uname -s) UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S), Linux) ifeq ($(UNAME_S), Linux)
......
...@@ -6,7 +6,7 @@ all: $(PROG) ...@@ -6,7 +6,7 @@ all: $(PROG)
ifeq ($(OS), Windows_NT) ifeq ($(OS), Windows_NT)
# TODO(alashkin): enable SSL in Windows # TODO(alashkin): enable SSL in Windows
CFLAGS += -lws2_32 -D_MG_PROVIDE_STRNLEN CFLAGS += -lws2_32 -D_MG_PROVIDE_STRNLEN
CC = mingw32-gcc CC = gcc
else else
ifeq ($(SSL_LIB),openssl) ifeq ($(SSL_LIB),openssl)
CFLAGS += -DMG_ENABLE_SSL -lssl -lcrypto CFLAGS += -DMG_ENABLE_SSL -lssl -lcrypto
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment