projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
example Makefiles: standardize on $^ for linking
[lttng-ust.git]
/
doc
/
examples
/
hello-static-lib
/
Makefile
diff --git
a/doc/examples/hello-static-lib/Makefile
b/doc/examples/hello-static-lib/Makefile
index 81789e2b5b64faacf355ec868bc9dd31f985dc9e..3da65f042971529bf3d76f0b57cf2b0cdb9222c9 100644
(file)
--- a/
doc/examples/hello-static-lib/Makefile
+++ b/
doc/examples/hello-static-lib/Makefile
@@
-40,7
+40,7
@@
lttng-ust-provider-hello.o: tp.c ust_tests_hello.h
$(CC) $(CFLAGS) -c -o $@ $<
lttng-ust-provider-hello.a: lttng-ust-provider-hello.o
- ar -rc $@ $
<
+ ar -rc $@ $
^
hello.o: hello.c
$(CC) $(CFLAGS) -c -o $@ $<
This page took
0.024092 seconds
and
4
git commands to generate.