Skip to content

Commit 07e3e4f

Browse files
authored
Merge pull request #1270 from stan-dev/hotfix/makefile
Add -p to mkdir call
2 parents 134e5e8 + 9fa1a26 commit 07e3e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make/program

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $(patsub %.d,%.hpp.gch,$(PRECOMPILED_MODEL_HEADER)) : DEPTARGETS = -MT $(patsubs
2424
$(PRECOMPILED_MODEL_HEADER) : $(STAN)src/stan/model/model_header.hpp
2525
@echo ''
2626
@echo '--- Compiling pre-compiled header. This might take a few seconds. ---'
27-
@mkdir $(dir $@)
27+
@mkdir -p $(dir $@)
2828
$(COMPILE.cpp) $< $(OUTPUT_OPTION)
2929

3030
ifeq ($(CXX_TYPE),clang)

0 commit comments

Comments
 (0)