mirror of
https://github.com/mirror/make.git
synced 2025-02-05 01:00:11 +08:00
* doc/make.texi: [SV 63689] Fix typos in examples
This commit is contained in:
parent
2f336608d8
commit
f21cd822a3
@ -11529,7 +11529,7 @@ rules by adding these lines to your makefile:
|
||||
|
||||
@example
|
||||
(%) : % ;
|
||||
%.a : ; $(AR) $(ARFLAGS) $@ $?
|
||||
%.a : ; $(AR) $(ARFLAGS) $@@ $?
|
||||
@end example
|
||||
|
||||
The first line changes the rule that updates an individual object in the
|
||||
@ -11548,7 +11548,7 @@ If you prefer to write an explicit rule you can use:
|
||||
|
||||
@example
|
||||
libfoo.a: libfoo.a(x.o y.o @dots{})
|
||||
$(AR) $(ARFLAGS) $@ $?
|
||||
$(AR) $(ARFLAGS) $@@ $?
|
||||
@end example
|
||||
|
||||
@node Archive Suffix Rules, , Archive Pitfalls, Archives
|
||||
|
Loading…
Reference in New Issue
Block a user