[Top][All Lists]

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

Re: How to dive into SUBDIRS

From: Patrick Schoenfeld
Subject: Re: How to dive into SUBDIRS
Date: Mon, 31 Mar 2008 17:27:35 +0200
User-agent: Mutt/1.5.17 (2007-12-11)


On Mon, Mar 31, 2008 at 10:35:43AM -0400, Paul Smith wrote:
> Sorry, I didn't understand what you were trying to say.

The x.% targets are never executed, because Make says:
"Nothing to do"

> However, this doesn't work simply because I typed the wrong stuff here.
> The original targets were:

Although my question might have indicated that: I'm not dumb :-). Obviously
I discovered the problem and changed the commands accordingly.
However with this:

clean:: $(addprefix clean.,$(DIRS))
.PHONY: clean
.PHONY: $(addprefix clean.,$(DIRS))
    $(MAKE) -C $* clean

I get "Nothing to do" in every case. I don't get this if I remove the
.PHONY just for the $(addprefix clean.,$(DIRS)) (in my example in line
3 of the example)


reply via email to

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