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
d138119d
Commit
d138119d
authored
Nov 23, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made separate target for mongoose-lua-sqlite
parent
73019665
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
Makefile
build/Makefile
+8
-4
No files found.
build/Makefile
View file @
d138119d
...
...
@@ -33,12 +33,13 @@ SOURCES = src/internal.h src/util.c src/string.c src/parse_date.c \
src/upload.c src/mongoose.c src/lua.c
TINY_SOURCES
=
../mongoose.c main.c
LUA_SOURCES
=
$(TINY_SOURCES)
sqlite3.c lsqlite3.c lua_5.2.1.c
LUA_SOURCES
=
$(TINY_SOURCES)
lua_5.2.1.c
LUA_SQLITE_SOURCES
=
$(LUA_SOURCES)
sqlite3.c lsqlite3.c
SQLITE_FLAGS
=
-DTHREADSAFE
=
1
-DSQLITE_ENABLE_FTS3
\
-DSQLITE_ENABLE_FTS3_PARENTHESIS
LUA_FLAGS
=
-DUSE_LUA
-DUSE_LUA_SQLITE3
-DLUA_COMPAT_ALL
LUA_SQLITE_FLAGS
=
$(SQLITE_FLAGS)
$(LUA_FLAGS)
LUA_FLAGS
=
-DUSE_LUA
LUA_SQLITE_FLAGS
=
$(SQLITE_FLAGS)
$(LUA_FLAGS)
-DUSE_LUA_SQLITE3
# Using Visual Studio 6.0. To build Mongoose:
# Set MSVC variable below to where VS 6.0 is installed on your system
...
...
@@ -77,7 +78,10 @@ $(PROG): $(TINY_SOURCES)
$(CC)
$(TINY_SOURCES)
-o
$@
$(CFLAGS)
$(PROG)-lua
:
$(LUA_SOURCES)
$(CC)
$(LUA_SOURCES)
-o
$@
$(LUA_SQLITE_FLAGS)
$(CFLAGS)
$(CC)
$(LUA_SOURCES)
-o
$@
$(LUA_FLAGS)
$(CFLAGS)
$(PROG)-lua-sqlite
:
$(LUA_SQLITE_SOURCES)
$(CC)
$(LUA_SQLITE_SOURCES)
-o
$@
$(LUA_SQLITE_FLAGS)
$(CFLAGS)
unix
:
$(PROG) $(PROG)-lua
...
...
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