help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About make manual 11.3 a(m) syntax in prerequisite


From: lijh8
Subject: Re: About make manual 11.3 a(m) syntax in prerequisite
Date: Sat, 28 Dec 2024 10:47:50 +0800

Hi Paul,

The ar option `U` works on debian 12 unstable.


Thanks.


```
ARFLAGS = rvU
(%) : % ;
%.a : ; $(AR) $(ARFLAGS) $@ $?
libfoo.a: libfoo.a($(patsubst %.c,%.o,$(wildcard *.c))) 
```


$ ar --version
GNU ar (GNU Binutils for Debian) 2.43.50.20241221
$ 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]