help-make
[Top][All Lists]
Advanced

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

$$@


From: Magnus Fromreide
Subject: $$@
Date: Thu, 17 May 2001 11:02:23 +0200 (MET DST)

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 $@




reply via email to

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