MLton / mlton

The MLton repository
http://mlton.org
Other
960 stars 127 forks source link

Add $(MLTON_GEN_SOURCES) as dependency of $(MLTON_OUTPUT_SMLNJ_HEAP).d #520

Closed MatthewFluet closed 1 year ago

MatthewFluet commented 1 year ago

Closes MLton/mlton#519

SML/NJ CM, indirectly through the ml-makedepend tool, requires all source files mentioned in scanned .cm files to exist. Ensure that the generated source files (e.g., ../lib/stubs/mlton-stubs/pre-mlton.sml, control/version.sml, and front-end/*) exist before trying to generate $(MLTON_OUTPUT_SMLNJ_HEAP).d.