20:48 asperguy| Also, the order of LIBS is wrong in the rsfont and gbagfx makefiles. It should be -lpng -lz.
20:50 asperguy| I get undefined references unless I swap them. Order does matter. See this stackoverflow post for an explanation. http://stackoverflow.com/questions/2395355/linking-with-libpng-zlib
In case the stackoverflow link dies, it says the linker will not realize zlib is actually needed unless libpng comes first, because they are static archives.