help-make
[Top][All Lists]
Advanced

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

pattern rule unvarying prerequisite problem


From: Martin d'Anjou
Subject: pattern rule unvarying prerequisite problem
Date: Mon, 29 Sep 2003 19:20:02 -0400 (EDT)

Hi,

I have a pattern rule with an unvarying prerequisite $(OTHERFILES):

run/%: $(DEPS)/%.d $(OBJS)/%.o $(OTHERFILES)
        commands ...

When OTHERFILES=file1.ext, it works just fine.

When OTHERFILES=file1.ext file2.ext, it does not work: I get the error:

$ make run/plain
make: *** No rule to make target `run/plain'.  Stop.

I am a bit lost. According to the manual what I want to do is allowed, but 
I cannot get it to work.

Thanks in advance,
Martin






reply via email to

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