move integration tests before memory test for earlier feedback
don't pass down command line defines in makefile to sub-makefiles. This was causing TARGET to be overridden, so libraries were produced with the same target name as passed on the command line.