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
feb3b5db
Commit
feb3b5db
authored
Jul 15, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using $(FLAGS) for cocoa target
parent
508b67d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
Makefile
Makefile
+4
-5
No files found.
Makefile
View file @
feb3b5db
...
@@ -95,8 +95,8 @@ lua.lib: $(LUA_WINOBJS)
...
@@ -95,8 +95,8 @@ lua.lib: $(LUA_WINOBJS)
$(MSVC)
/bin/lib /out:
$@
$(LUA_WINOBJS)
$(MSVC)
/bin/lib /out:
$@
$(LUA_WINOBJS)
# To build with lua, make sure you have Lua unpacked into lua-5.2.1 directory
# To build with lua, make sure you have Lua unpacked into lua-5.2.1 directory
linux_lua
:
linux_lua
:
$(ALL_OBJECTS)
$(CC)
mongoose.c main.c build/lsqlite3.c build/sqlite3.c
$(LUA_SOURCES)
-DUSE_LUA
-DUSE_LUA_SQLITE3
-DLUA_COMPAT_ALL
-I
$(LUA)
-o
$(PROG)
-ldl
$(CFLAGS)
$(CC)
$(ALL_OBJECTS)
-o
$(PROG)
-ldl
# Make sure that the compiler flags come last in the compilation string.
# Make sure that the compiler flags come last in the compilation string.
# If not so, this can break some on some Linux distros which use
# If not so, this can break some on some Linux distros which use
...
@@ -126,9 +126,8 @@ $(PROG).lib: $(ALL_WINOBJS)
...
@@ -126,9 +126,8 @@ $(PROG).lib: $(ALL_WINOBJS)
# See e.g. http://lists.apple.com/archives/apple-cdsa/2008/Jan/msg00027.html
# See e.g. http://lists.apple.com/archives/apple-cdsa/2008/Jan/msg00027.html
Mongoose
:
mongoose.c main.c
Mongoose
:
mongoose.c main.c
$(CC)
mongoose.c main.c build/lsqlite3.c build/sqlite3.c
\
$(CC)
mongoose.c main.c build/lsqlite3.c build/sqlite3.c
\
-DUSE_COCOA
$(CFLAGS)
-I
$(LUA)
-Ibuild
-mmacosx-version-min
=
10.4
\
-DUSE_COCOA
$(CFLAGS)
$(FLAGS)
-mmacosx-version-min
=
10.4
\
$(YASSL_SOURCES)
$(YASSL_FLAGS)
-DNO_SSL_DL
\
$(YASSL_SOURCES)
$(LUA_SOURCES)
\
$(LUA_SOURCES)
-DUSE_LUA
-DUSE_LUA_SQLITE3
-DLUA_COMPAT_ALL
\
-framework
Cocoa
-ObjC
-arch
i386
-arch
x86_64
-o
Mongoose
-framework
Cocoa
-ObjC
-arch
i386
-arch
x86_64
-o
Mongoose
cocoa
:
Mongoose
cocoa
:
Mongoose
...
...
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