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
b4c25fc7
Commit
b4c25fc7
authored
Aug 05, 2014
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added ALL_PROGS
parent
b67b6188
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
Makefile
examples/Makefile
+11
-5
No files found.
examples/Makefile
View file @
b4c25fc7
# Copyright (c) 2014 Cesanta Software
# All rights reserved
#
# Makefile for Mongoose web server examples
CFLAGS
=
-W
-Wall
-I
..
-pthread
-g
-pipe
$(CFLAGS_EXTRA)
RM
=
rm
-rf
OUT
=
-o
$@
ALL_PROGS
=
hello websocket server post multi_threaded upload auth pubsub
NS
=
../../net_skeleton
SW
=
../../ssl_wrapper
ifeq
($(OS),Windows_NT)
MSVC
=
../../vc6
...
...
@@ -23,7 +31,7 @@ else
endif
endif
all
:
hello websocket server post multi_threaded upload auth
all
:
$(ALL_PROGS)
# To enable Lua in a server, uncomment following lines
LUA
=
../lua-5.2.3/src
...
...
@@ -62,10 +70,8 @@ mjpg: mjpg.c ../mongoose.c
pubsub
:
websocket2.c ../mongoose.c
$(CC)
websocket2.c ../mongoose.c
$(OUT)
$(CFLAGS)
proxy
:
proxy.c ../mongoose.c
$(CC)
proxy.c ../mongoose.c
$(OUT)
\
-I
../../net_skeleton
-DNS_ENABLE_SSL
-lssl
$(CFLAGS)
$(CC)
proxy.c ../mongoose.c
$(OUT)
-I
$(NS)
-DNS_ENABLE_SSL
-lssl
$(CFLAGS)
websocket_html.c
:
websocket.html
perl mkdata.pl
$<
>
$@
...
...
@@ -75,4 +81,4 @@ u:
./
$@
clean
:
-
@
$(RM)
hello mjpg upload post websocket auth file server multi_threaded proxy websocket_html.c
*
.exe
*
.dSYM
*
.obj .
*
o u a.out
-
@
$(RM)
$(ALL_PROGS)
websocket_html.c
*
.exe
*
.dSYM
*
.obj
*
.exp .
*
o
*
.lib u
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