Hi,
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))
clean.%:
$(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)
Regards,
Patrick
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make