Makefile: Replace SUBDIRS with M

SUBDIRS is deprecated.

Signed-off-by: Salym Senyonga <salymsash@gmail.com>