bug-make
[Top][All Lists]
Advanced

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

Bug in make


From: kevin_harrelson
Subject: Bug in make
Date: Fri, 18 Jun 2010 15:07:24 -0600

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: $$(address@hidden)

 

 

Here is the output:

 

make -f make_test -n

make: *** No rule to make target `$(address@hidden)', needed by `main'.  Stop.

 

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

 

 

     - Kevin Harrelson

     - Agilent Technologies

     - address@hidden

     - 719-590-5336

 


reply via email to

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