Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
c581b5e5
Commit
c581b5e5
authored
Mar 09, 2016
by
Alexander Alashkin
Committed by
Marko Mikulicic
Mar 10, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mg/examples-wine to OurCI
PUBLISHED_FROM=2781248e982719cda495370a373f66d6e4213d83
parent
df311203
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
Makefile
examples/Makefile
+4
-2
Makefile
examples/api_server/Makefile
+1
-1
examples.mk
examples/examples.mk
+1
-1
No files found.
examples/Makefile
View file @
c581b5e5
# 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)
...
...
examples/api_server/Makefile
View file @
c581b5e5
...
@@ -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)
...
...
examples/examples.mk
View file @
c581b5e5
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment