Changed testdir/Makefile to use Makefile wildcards instead of SUFFIXES

SUFFIXES are outdated (https://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html).