Skip to content

Commit

Permalink
Merge pull request #1219 from stan-dev/fix/998-main-o-dependencies
Browse files Browse the repository at this point in the history
Properly re-build main.o when threading, etc enabled
  • Loading branch information
WardBrian authored Nov 8, 2023
2 parents a5b61ba + 825873e commit 56a8779
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions make/program
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ ifeq (,$(findstring tbb.dll, $(notdir $(shell where tbb.dll))))
endif
endif

$(patsubst %.cpp,%$(STAN_FLAGS).d,$(CMDSTAN_MAIN)) : $(CMDSTAN_MAIN)
$(COMPILE.cpp) $(DEPFLAGS) $<

##
# Dependencies file
##
Expand Down

0 comments on commit 56a8779

Please sign in to comment.