Here's a quick Mac OS X Makefile based on the one I did for William's pix_motion_sector, perhaps these two could be combined into a template Makefile for standalone Gem objects?