libshapes.o only needs olginit.o to link, not to compile.  It does need the *.inc files to compile which are generated by the “fonts” target.