Makefile tweaking

26 views
Skip to first unread message

buserror

unread,
Jun 16, 2012, 8:01:15 AM6/16/12
to freet...@googlegroups.com
Hi, I'd like to integrate freetype-gl in my project, but I tought the way it was built was a bit difficult to manipulate.

Here is a patch that tweaks the Makefile to make it built objects and binaries in subdirectories (so it can be cross-compiled independently) and also create a .a static library with the 'core' objects. The demos and tools go into their own bin- subdirectory too.

I stopped short of using gnu libtool, maybe if you think it wil work on all platform you build for we can add it later...

Hope this help!

Michael 
0001-freetype-gl-Makefile.patch

Nicolas Rougier

unread,
Jul 19, 2012, 8:17:07 AM7/19/12
to freet...@googlegroups.com

Sorry for the long delay, I totally forgot you sent this patch...

I tried it and it seems to work but since binaries are now in a dedicated directory, they're not able to find fonts and shaders code. So before using it, it may be time to reorganize the whole tree a bit differently (src/ demos/ lib/ bin/ etc.)

Any suggestions welcome...


Nicolas
Reply all
Reply to author
Forward
0 new messages