message: move .o in substr
diff: @@ -38,8 +38,7 @@ endif
  @echo ''
  @echo '--- Compiling, linking C++ code ---'
  $(COMPILE.cpp) $(CXXFLAGS_PROGRAM) -x c++ -o $(subst \,/,$*).o $(subst \,/,$<)
  - $(LINK.cpp) $(subst \,/,$*).o $(CMDSTAN_MAIN_O) $(LDLIBS) $(LIBSUNDIALS) $(MPI_TARGETS) $(subst \,/,$(OUTPUT_OPTION))
  -
  + $(LINK.cpp) $(subst \,/,$*.o) $(CMDSTAN_MAIN_O) $(LDLIBS) $(LIBSUNDIALS) $(MPI_TARGETS) $(subst \,/,$(OUTPUT_OPTION))
  ##
  # Dependencies file
  