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
fa4179ee
Commit
fa4179ee
authored
Jan 11, 2014
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made clean silent
parent
a8c8cfb6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Makefile
build/Makefile
+3
-1
Makefile
examples/Makefile
+3
-1
No files found.
build/Makefile
View file @
fa4179ee
...
...
@@ -9,6 +9,7 @@ EXE_SUFFIX =
CFLAGS
=
-std
=
c99
-O2
-W
-Wall
-pedantic
-pthread
-pipe
-I
.
-I
..
$(CFLAGS_EXTRA)
VERSION
=
$(
shell
perl
-lne
\
'print $$1 if /define\s+MONGOOSE_VERSION\s+"(\S+
)
"/'
../mongoose.h
)
RM
=
rm
-rf
VDIR
=
mongoose-
$(VERSION)
# Stock windows binary builds with Lua and YASSL library.
...
...
@@ -62,6 +63,7 @@ LINK = $(MSVC)/bin/link $(LINK_FLAGS)
ifeq
($(OS),
Windows_NT)
EXE_SUFFIX
=
.exe
RM
=
del
else
UNAME_S
:=
$(
shell
uname
-s
)
ifeq
($(UNAME_S),
Linux)
...
...
@@ -160,6 +162,6 @@ release: tarball macos
clean
:
@
cd
../examples
&&
$(MAKE)
clean
@
rm
-rf
*
.o
*
.core
$(PROG)
*
.obj
*
.so
$(PROG)
.txt
*
.dSYM
*
.tgz
\
@
$(RM)
*
.o
*
.core
$(PROG)
*
.obj
*
.so
$(PROG)
.txt
*
.dSYM
*
.tgz
\
$(PROG)
.exe
*
.dll
*
.lib res.o res.RES
*
.dSYM
*
.zip
*
.pdb
\
*
.exe
*
dmg
*
$(PROG)
-
*
unix_unit_test
examples/Makefile
View file @
fa4179ee
CFLAGS
=
-W
-Wall
-I
..
-pthread
-g
-pipe
$(COPT)
DLL_FLAGS
=
-DLUA_COMPAT_ALL
-I
../build
RM
=
rm
-rf
ifeq
($(OS),Windows_NT)
RM
=
del /q /f
else
UNAME_S
:=
$(
shell
uname
-s
)
DLL_FLAGS
+=
-shared
...
...
@@ -43,4 +45,4 @@ windows:
#$(CL) lua_dll.c $(CLFLAGS) $(DLL_FLAGS) /DLL $(LFLAGS) /SUBSYSTEM:WINDOWS /ENTRY:luaopen_lua_dll /EXPORT:luaopen_lua_dll /out:lua_dll.dll
clean
:
@
rm
-rf
hello upload post websocket chat
*
.exe
*
.dSYM
*
.obj .
*
o
-
@
$(RM)
hello upload post websocket chat
*
.exe
*
.dSYM
*
.obj .
*
o
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