Greg Ercolano wrote:

>    Done -- see r8324, lemme know what you think.
> 
>    Partially based the changes on your article from 2006:
>    http://fltk.org/articles.php?L599+I20+T+P1+QMakefile

Yup - that seems good.
I'd have done it myself, but my parents are here to visit this weekend 
(well, visit their grandson anyway!) so I'm not able to do much...

One question: You've got a $(EXEEXT) for handling the executable 
extension on WinXX hosts, but I can't see how you set it.

In my "real" Makefiles I have a dance I do using uname and so forth to 
figure out what host I'm on and set EXEEXT accordingly, but I'm sure 
there must be a better way?

Or, if not, we could add it to fltk-config, since the fltk configure 
script knows how to figure that stuff out anyway...?

>    I found it interesting that I could link with 'everything'
>    (images, opengl), and the executable sizes were the same
>    as linking with just FLTK. That's good; the linker didn't
>    link in stuff it didn't need, which seems to mean
>    'one makefile can fit all' when it comes to the examples,
>    some of which might use gl, some might not.


Yes, that matches what I find; if the libs are well partitioned, the 
linker does a decent job of *not* linking in the bits it does not need!

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to