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 <[email protected]>: > > On Sun, 2010-09-19 at 00:51 -0300, Sergio Belkin wrote: > >> 2010/9/18 Luke Shumaker <[email protected]>: > >> > 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! _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
