Corrected .d file path for the clean target in Makefile.input file. (#1735)

This commit is contained in:
Hong Chen 2024-06-27 10:34:44 -05:00 committed by GitHub
parent 7bc531273c
commit 37e273a024
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -147,7 +147,7 @@ int Trick::JITInputFile::compile(std::string file_name) {
// rule to clean
outfile << "clean:" << std::endl ;
outfile << "\t rm -f " << object_fullpath_name << " " << library_fullpath_name ;
outfile << " " << command_line_args_get_output_dir() << "/" << dep_file_name << std::endl << std::endl ;
outfile << " " << dep_file_name << std::endl << std::endl ;
// dependency file
outfile << "-include " << dep_file_name << std::endl ;