It says in the make manual that part of the functionality from $$@ can be
gained by means of static pattern rules.
Is the following snippet of a makefile possible to translate into GNU make
syntax?

PROGS=bin/A bin/B
A_OBJS=a.o c.o
B_OBJS=b.o d.o
A_LIBS=lib/libE.a
B_LIBS=lib/libF.a

$(PROGS): $($$(@F)_OBJS) $($$(@F)_LIBS)
        $(LINK.c) $($(@F)_OBJS) $($(@F)_LIBS) -o $@


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to