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
3a60c576
Commit
3a60c576
authored
Apr 07, 2014
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unit test target corrected
parent
a8b38e4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Makefile
examples/Makefile
+5
-2
No files found.
examples/Makefile
View file @
3a60c576
...
@@ -12,6 +12,8 @@ ifeq ($(OS),Windows_NT)
...
@@ -12,6 +12,8 @@ ifeq ($(OS),Windows_NT)
CFLAGS
+=
$(CFLAGS_EXTRA)
CFLAGS
+=
$(CFLAGS_EXTRA)
else
else
UNAME_S
:=
$(
shell
uname
-s
)
UNAME_S
:=
$(
shell
uname
-s
)
CC
=
g++
CFLAGS
+=
-lssl
-g
-O0
ifeq
($(UNAME_S),Linux)
ifeq
($(UNAME_S),Linux)
CFLAGS
+=
-ldl
CFLAGS
+=
-ldl
...
@@ -56,7 +58,8 @@ websocket_html.c: websocket.html
...
@@ -56,7 +58,8 @@ websocket_html.c: websocket.html
perl mkdata.pl
$<
>
$@
perl mkdata.pl
$<
>
$@
u
:
u
:
g++ unit_test.c
-Wall
-W
-pedantic
-lssl
-g
-O0
$(CFLAGS_EXTRA)
&&
./a.out
$(CC)
unit_test.c
$(OUT)
$(CFLAGS)
./
$@
clean
:
clean
:
-
@
$(RM)
hello mjpg upload post websocket auth server multi_threaded websocket_html.c
*
.exe
*
.dSYM
*
.obj .
*
o
-
@
$(RM)
hello mjpg upload post websocket auth server multi_threaded websocket_html.c
*
.exe
*
.dSYM
*
.obj .
*
o
u a.out
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