From 382c1567fd533d9bede83eb619fae628f16da81d Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 13 Jul 2019 18:43:25 +0800 Subject: main - Add initial file to depenency list --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index dd208cbe..8e97dd57 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -235,6 +235,7 @@ int main(int argc, char *argv[]) }); crate.m_test_harness = params.test_harness; crate.m_crate_name_suffix = params.crate_name_suffix; + //crate.m_crate_name = params.crate_name; if( params.last_stage == ProgramParams::STAGE_PARSE ) { return 0; @@ -425,7 +426,7 @@ int main(int argc, char *argv[]) ::std::ofstream of { params.emit_depfile }; // TODO: Escape spaces and colons in these paths - of << params.outfile << ":"; + of << params.outfile << ": " << params.infile; for(const auto& mod_path : pe.out) { of << " " << mod_path; -- cgit v1.2.3