Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mms-engine
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mer-core
mms-engine
Commits
9528c77e
Commit
9528c77e
authored
Feb 18, 2014
by
Slava Monich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for KEEP_SYMBOLS option
parent
06e3f8e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
mms-dump/Makefile
mms-dump/Makefile
+11
-0
No files found.
mms-dump/Makefile
View file @
9528c77e
...
...
@@ -41,6 +41,15 @@ WARNINGS = -Wall
CFLAGS
=
$(
shell
pkg-config
--cflags
$(PKGS)
)
-MMD
LIBS
=
$(
shell
pkg-config
--libs
$(LIB_PKGS)
)
ifndef
KEEP_SYMBOLS
KEEP_SYMBOLS
=
0
endif
ifneq
($(KEEP_SYMBOLS),0)
RELEASE_FLAGS
+=
-g
SUBMAKE_OPTS
+=
KEEP_SYMBOLS
=
1
endif
DEBUG_CFLAGS
=
$(WARNINGS)
$(DEBUG_FLAGS)
$(DEBUG_DEFS)
$(CFLAGS)
RELEASE_CFLAGS
=
$(WARNINGS)
$(RELEASE_FLAGS)
$(RELEASE_DEFS)
$(CFLAGS)
DEBUG_LIBS
=
$(LIBS)
...
...
@@ -98,4 +107,6 @@ $(DEBUG_EXE): $(DEBUG_EXE_DEPS) $(DEBUG_OBJS)
$(RELEASE_EXE)
:
$(RELEASE_EXE_DEPS) $(RELEASE_OBJS)
$(LD)
$(RELEASE_FLAGS)
$(RELEASE_OBJS)
$(RELEASE_LIBS)
-o
$@
ifeq
($(KEEP_SYMBOLS),0)
strip
$@
endif
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