Added dependency file generation to the assembler. This includes two new
options, --create-dep and --create-full-dep. The latter will include files that are passed via debug info to the assembler. git-svn-id: svn://svn.cc65.org/cc65/trunk@4653 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -347,7 +347,7 @@ static void DoneCharSource (void)
|
||||
/*****************************************************************************/
|
||||
/* InputFile functions */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
static void IFMarkStart (CharSource* S)
|
||||
@@ -488,7 +488,9 @@ int NewInputFile (const char* Name)
|
||||
}
|
||||
|
||||
/* Add the file to the input file table and remember the index */
|
||||
FileIdx = AddFile (SB_InitFromString (&NameBuf, Name), Buf.st_size, Buf.st_mtime);
|
||||
FileIdx = AddFile (SB_InitFromString (&NameBuf, Name),
|
||||
(FCount == 0)? FT_MAIN : FT_INCLUDE,
|
||||
Buf.st_size, Buf.st_mtime);
|
||||
|
||||
/* Create a new input source variable and initialize it */
|
||||
S = xmalloc (sizeof (*S));
|
||||
|
||||
Reference in New Issue
Block a user