Speed up makefile for test

I use := syntax (available in gmake) to avoid slow
recursive behavior.