message: build separate main.o with range checks
diff: @@ -104,8 +104,11 @@ endif
  ifdef STAN_OPENCL
  STAN_FLAG_OPENCL=_opencl
  endif
  +ifdef STAN_NO_RANGE_CHECKS
  +STAN_FLAG_NO_RANGE_CHECKS=_nochecks
  +endif
  -STAN_FLAGS=$(STAN_FLAG_THREADS)$(STAN_FLAG_MPI)$(STAN_FLAG_OPENCL)
  +STAN_FLAGS=$(STAN_FLAG_THREADS)$(STAN_FLAG_MPI)$(STAN_FLAG_OPENCL)$(STAN_FLAG_NO_RANGE_CHECKS)
  ifeq ($(OS),Windows_NT)
  ifeq (clang,$(CXX_TYPE))
  