help-make
[Top][All Lists]
Advanced

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

Re: 2 rules for one target


From: Alessandro Vesely
Subject: Re: 2 rules for one target
Date: Thu, 16 Dec 2004 08:33:02 +0100

address@hidden wrote:
> [...]
> $(INFILE): $(OBJS) $(CXXOBJS) $(CIAOBJS)
>         $(AR) $(ARFLAGS) $^ -o $@
> [...] $(INFILE): $(OBJDIR)/.stamp

> 
> Why does it stop working when the list of prerequisites (the objects) in the 
> top
> rule is empty?

Perhaps the file alrteady exists?

> For some strange reason I get $(OBJDIR)/.stamp in the $^ variable:

You have 2 rules for INFILE: 4.11 Multiple Rules for One Target
"All the prerequisites mentioned in all the rules
"are merged into one list of prerequisites




reply via email to

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