Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
1f6476b0
Commit
1f6476b0
authored
Sep 26, 2010
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
antithread: update example Makefile and arabella example.
parent
9f43b2f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
ccan/antithread/examples/Makefile
ccan/antithread/examples/Makefile
+5
-7
ccan/antithread/examples/arabella.c
ccan/antithread/examples/arabella.c
+1
-1
No files found.
ccan/antithread/examples/Makefile
View file @
1f6476b0
CFLAGS
=
-g
-O3
-Wall
-Wstrict-prototypes
-Wold-style-definition
-Wmissing-prototypes
-Wmissing-declarations
-I
../../..
CFLAGS
=
-g
-Wall
-Wstrict-prototypes
-Wold-style-definition
-Wmissing-prototypes
-Wmissing-declarations
-I
../../.. ../../talloc.o ../../alloc.o ../../noerr.o ../../read_write_all.o ../../antithread.o
# -O3
LDLIBS
=
-ljpeg
-lm
all
:
dns_lookup
all
:
dns_lookup
arabella
dns_lookup
:
dns_lookup.c ../../../libccan.a
$(CC)
$(CFLAGS)
-o
$@
$^
arabella
:
arabella.c ../../../libccan.a
$(CC)
$(CFLAGS)
-o
$@
$^
-ljpeg
-lm
clean
:
rm
-f
dns_lookup arabella
ccan/antithread/examples/arabella.c
View file @
1f6476b0
...
...
@@ -377,7 +377,7 @@ static struct drawing *breed_drawing(const void *ctx,
/* This is our anti-thread. It does the time-consuming operation of
* breeding two drawings together and scoring the result. */
static
void
*
breeder
(
struct
at_pool
*
atp
,
const
struct
image
*
master
)
static
void
*
breeder
(
struct
at_pool
*
atp
,
struct
image
*
master
)
{
const
struct
drawing
*
a
,
*
b
;
...
...
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