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
9940a01c
Commit
9940a01c
authored
Sep 12, 2011
by
David Boyce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed to build examples with knowledge of include and lib locations.
parent
3f3f6225
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
examples/Makefile
+8
-3
No files found.
examples/Makefile
View file @
9940a01c
.PHONY
:
all
CFLAGS
=
-g
-I
../include
LFLAGS
=
-Ldirectory-containing-libgit
all
:
general showindex
general
:
general.c
gcc
-lgit2
-o
general general.c
gcc
-o
general
$(CFLAGS)
general.c
$(LFLAGS)
-lgit2
-lz
showindex
:
showindex.c
gcc
-lgit2
-o
showindex showindex.c
gcc
-o
showindex
$(CFLAGS)
showindex.c
$(LFLAGS)
-lgit2
-lz
clean
:
rm general showindex
rm general showindex
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