Re: About make manual 11.3 a(m) syntax in prerequisite
"lijh8" via Users list for the GNU implementation of make <[email protected]> Sat, 28 Dec 2024 10:47:50 +0800
| Newsgroups | gmane.comp.gnu.make.general |
|---|---|
| Message-ID | <[email protected]> |
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 $