mirror of
https://github.com/mirror/make.git
synced 2025-03-27 20:40:35 +08:00
* doc/make.texi: Use $(firstword) rather than $(word 1,)
This commit is contained in:
parent
dc2d963989
commit
a99183ed2b
@ -7352,7 +7352,7 @@ marking an archive file up to date:
|
|||||||
|
|
||||||
@example
|
@example
|
||||||
archive.a: @dots{}
|
archive.a: @dots{}
|
||||||
ifneq (,$(findstring t,$(word 1,-$(MAKEFLAGS))))
|
ifneq (,$(findstring t,$(firstword -$(MAKEFLAGS))))
|
||||||
+touch archive.a
|
+touch archive.a
|
||||||
+ranlib -t archive.a
|
+ranlib -t archive.a
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user