desktop: build graphics.c