help-make
[Top][All Lists]
Advanced

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

make clarification


From: rajesh upadhayaya
Subject: make clarification
Date: Tue, 17 May 2011 14:40:44 -0700 (PDT)

Hi,
I am trying to compile using a Gnu makeĀ under Linux. This make gives below 
error/message :

116:*** target pattern contails no '%'. Stop.

Line 116 is 
$(PCCSRC): $$(@:%.c=%.pc) $(INCLUDES)

In case I replace this by actual variable it works fine e.g.
$(PCCSRC): $(PCSRC) $(INCLUDES)

Other patterns like $(@:%.c=%.pc) are working fine. Problem is whereever $$ is 
being used. 

Same make fileĀ is working fine with cc make on solaris.

Am I missing some variable decalaration or its the problem with gcc or Linux? 
Thanks in advance

regards,
Rajesh



reply via email to

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