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
b3fb21da
Commit
b3fb21da
authored
8 years ago
by
Sergey Lyubka
Committed by
Cesanta Bot
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add DLL building example
PUBLISHED_FROM=20d24793d766ee289c6bde95bd5ad01202cd614b
parent
2deaf084
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
Makefile
examples/dll/Makefile
+18
-0
No files found.
examples/dll/Makefile
0 → 100644
View file @
b3fb21da
# This Makefile builds Mongoose as a shared library on different architectures.
# To pass a specific build options, use CFLAGS_EXTRA, for example:
# make macos CFLAGS_EXTRA="-DMG_ENABLE_COAP"
CFLAGS
=
-W
-Wall
-O2
$(CFLAGS_EXTRA)
SRC
=
../../mongoose.c
all
:
@
echo
"make <unix|windows> CFLAGS_EXTRA='-O2'"
unix
:
$(CC)
$(SRC)
-shared
-o
mongoose.so
$(CFLAGS)
windows
:
cl
$(SRC)
/LD advapi32.lib
$(CFLAGS_EXTRA)
clean
:
rm
-rf
*
.so
*
.dll
*
.obj
*
.exe
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