[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with phony target
From: |
Luke Shumaker |
Subject: |
Re: Problem with phony target |
Date: |
Sun, 19 Sep 2010 18:47:31 -0400 |
Don't forget to CC the mailing list!
~ LukeShu
On Sun, 2010-09-19 at 19:17 -0300, Sergio Belkin wrote:
> 2010/9/19 Luke Shumaker <address@hidden>:
> > On Sun, 2010-09-19 at 00:51 -0300, Sergio Belkin wrote:
> >> 2010/9/18 Luke Shumaker <address@hidden>:
> >> > On Sat, 2010-09-18 at 21:17 -0300, Sergio Belkin wrote:
> >> >> Hi folks,
> >> >>
> >> >> I have a Makefile that even when issuing for the first time the PHONY
> >> >> target clean wants to recompile as you can see below:
> >> > ...
> >> >> What am I doing wrong?
> >> >>
> >> >> You can read the Makefile on http://pastebin.com/8zKGBQBt
> >> >>
> >> >> Thanks in advance!
> >> >> --
> >> >>
> >> Oops... strike two. Here we go :)
> >>
> >> http://pastebin.com/NMfkkK1D
> >>
> >> TIA
> >
> > Try this:
> > http://pastebin.com/cV3eEhAm
> >
> > ~ LukeShu
> >
> >
>
> Thanks Luke and Philip, now I've removed include line and appended:
>
> ifeq ($(filter clean clean% tgz,$(MAKECMDGOALS)),)
> include $(subst .o,.d,$(OBJS))
> endif
>
> And it works fine. All in all I'l try to read about the modern way of
> dependencies generation.
>
> Thanks again!
Re: Problem with phony target, Philip Guenther, 2010/09/19