[Makefile] fix handling of variables (i.e. '$${CFLAGS} $(SRC:$(SRCDIR)')