On 22.08.2011, at 16:32, MacArthur, Ian (SELEX GALILEO, UK) wrote:

> 
> The test Makefile now has:
> 
> file_chooser$(EXEEXT): file_chooser.o $(FLTK_LIB_NAME)
> $(FLTK_IMAGES_LIB_NAME) $(FLTK_PNG_LIB_NAME) $(FLTK_JPEG_LIB_NAME)
> $(FLTK_ZLIB_LIB_NAME)
>       echo Linking $@...
>       $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ file_chooser.o $(LINK_FLTK)
> $(LINK_FLTK_IMAGES) $(LINK_FLTK_PNG) $(LINK_FLTK_JPEG) $(LINK_FLTK_ZLIB)
> $(LDLIBS)
> 
> 
> Which does look to be calling out the fltk libs in the "wrong" order, I
> guess that's a feature of the new build system that still needs
> fettling?

Good catch! The Makefile generator still leaves a lot to be desired, but yes, 
link order is currently just copied from the order of dependencies in the .flw 
framework file. SO it's really easy to fix in Fluid. 

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

Reply via email to