On 12 Dec 2009, at 20:10, manolo gouy wrote:

>> One other thing I notice: building at the command line, it looks like
>> the dependency file does not know that Fl.cxx depends on Fl_cocoa.mm,
>> so if I make any changes in Fl_cocoa.mm, it does not correctly
>> trigger a recompile of Fl.cxx...
>
> Ian, could you please try and apply this patch to src/Makefile,
> and test if dependencies are better ?
> I upload it as srcmakefile.patch.


Yes, seems to be fine.

One observation; this part of the patch:

@@ -511,6 +511,7 @@
  Fl_Image.o:   ../FL/mac.H ../FL/win32.H
  fl_line_style.o:      ../FL/mac.H ../FL/win32.H
  Fl_mac.o:     ../FL/mac.H ../FL/win32.H
+Fl_cocoa.o:  ../FL/mac.H ../FL/win32.H

Looks to be redundant I think - we never actually generate  
Fl_cocoa.o, do we? It is wrapped inside Fl.o, surely?

Mind you the same is true of Fl_mac.o too, which seems to be in the  
Makefile as well...




_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to