I am using the following version:

GNU Make 3.80
This program built for x86_64-redhat-linux-gnu

I am trying to get secondary expansion to work.  Here is the source (straight 
from the on-line manual, so it SHOULD work):


.SECONDEXPANSION:
main_OBJS := main.o try.o test.o
lib_OBJS := lib.o api.o

main lib: $$($...@_objs)


Here is the output:

make -f make_test -n
make: *** No rule to make target `$($...@_objs)', needed by `main'.  Stop.

It looks like during the 2nd pass, that $@ is not being expanded.


     - Kevin Harrelson
     - Agilent Technologies
     - kevin_harrel...@agilent.com
     - 719-590-5336

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to