Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
56931d1a
Commit
56931d1a
authored
Feb 19, 2010
by
Ramsay Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: Add support for custom build options in config.mak file
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
parent
1e5dd572
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
.gitignore
+1
-0
Makefile
+2
-0
tests/Makefile
+2
-0
No files found.
.gitignore
View file @
56931d1a
/apidocs
/trash-*.exe
/libgit2.pc
/config.mak
*.o
*.a
*.exe
...
...
Makefile
View file @
56931d1a
...
...
@@ -55,6 +55,8 @@ ifneq (,$(findstring MINGW,$(uname_S)))
SPARSE_FLAGS
=
-Wno-one-bit-signed-bitfield
endif
-include
config.mak
SRC_C
=
$
(
wildcard src/
*
.c
)
OS_SRC
=
$
(
wildcard src/
$(OS)
/
*
.c
)
SRC_C
+=
$(OS_SRC)
...
...
tests/Makefile
View file @
56931d1a
...
...
@@ -41,6 +41,8 @@ ifneq (,$(findstring MINGW,$(uname_S)))
EXTRA_LIBS
+=
-lwsock32
-lpthread
endif
-include
../config.mak
GIT_LIB
=
../libgit2.a
HDRS
=
$
(
wildcard ../src/
*
.h
)
...
...
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