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
9 years ago
by
Alexander Alashkin
Committed by
Marko Mikulicic
9 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add mg/examples-wine to OurCI
PUBLISHED_FROM=2781248e982719cda495370a373f66d6e4213d83
parent
df311203
Changes
3
Hide 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)
...
...
This diff is collapsed.
Click to expand it.
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)
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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