fixed makefile for both square and textrender