Automatic variable $ doesnt increment to the next source file while compiling

2011-07-19 Thread Rahul
Hi,

I am using make (version 3.81) for compilation.
However the automatic variable $ doesnt increment as expected and uses
the 1st source file itself for compiling all the objects.

However the other automatic variable $@ seems to be working fine.

Regards
Rahul


___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make


Re: Automatic variable $ doesnt increment to the next source file while compiling

2011-07-19 Thread Paul Smith
On Tue, 2011-07-19 at 15:22 +0530, Rahul wrote:
 I am using make (version 3.81) for compilation.
 However the automatic variable $ doesnt increment as expected and uses
 the 1st source file itself for compiling all the objects.

There's not much help we can give based on this description.  Please
provide a sample of what you're doing (the smallest makefile syntax that
reproduces the problem) and show what output you're getting and what
output you expected.

-- 
---
 Paul D. Smith psm...@gnu.org  Find some GNU make tips at:
 http://www.gnu.org  http://make.mad-scientist.net
 Please remain calm...I may be mad, but I am a professional. --Mad Scientist


___
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make