From: cuz Date: Mon, 21 Aug 2000 21:20:16 +0000 (+0000) Subject: Set the target system also for the assembler X-Git-Tag: V2.12.0~3229 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6f4a92b25919350251728330fbe816ed67108ffa;p=cc65 Set the target system also for the assembler git-svn-id: svn://svn.cc65.org/cc65/trunk@294 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cl65/main.c b/src/cl65/main.c index 819dd0029..78b6ae339 100644 --- a/src/cl65/main.c +++ b/src/cl65/main.c @@ -471,6 +471,9 @@ static void Assemble (const char* File) /* Remember the current assembler argument count */ unsigned ArgCount = CA65.ArgCount; + /* Set the target system */ + CmdSetTarget (&CA65, Target); + /* If we won't link, this is the final step. In this case, set the * output name. */ @@ -500,7 +503,7 @@ static void Assemble (const char* File) } - + static void Compile (const char* File) /* Compile the given file */ { @@ -871,7 +874,7 @@ int main (int argc, char* argv []) break; case 't': - /* Set target system - compiler and linker */ + /* Set target system - compiler, assembler and linker */ OptTarget (Arg, GetArg (&I, 2)); break;