1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-01 15:54:59 +00:00

Add the 'module' target

git-svn-id: svn://svn.cc65.org/cc65/trunk@1264 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-04-25 05:21:03 +00:00
parent dab745e4b1
commit 0ac54f6f22
2 changed files with 10 additions and 4 deletions

View File

@ -6,7 +6,7 @@
/* */
/* */
/* */
/* (C) 1998-2001 Ullrich von Bassewitz */
/* (C) 1998-2002 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@musoftware.de */
@ -298,7 +298,9 @@ static void OptTarget (const char* Opt attribute ((unused)), const char* Arg)
/* Map the target name to a target id */
Target = FindTarget (Arg);
if (Target == TGT_UNKNOWN) {
AbEnd ("Invalid target name: `%s'", Arg);
AbEnd ("Invalid target name: `%s'", Arg);
} else if (Target == TGT_MODULE) {
AbEnd ("Cannot use `module' as a target for the assembler");
}
}

View File

@ -6,7 +6,7 @@
/* */
/* */
/* */
/* (C) 2000-2001 Ullrich von Bassewitz */
/* (C) 2000-2002 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@cc65.org */
@ -140,6 +140,10 @@ static void SetSys (const char* Sys)
case TGT_NONE:
break;
case TGT_MODULE:
AbEnd ("Cannot use `module' as a target for the compiler");
break;
case TGT_ATARI:
DefineNumericMacro ("__ATARI__", 1);
break;
@ -705,7 +709,7 @@ int main (int argc, char* argv[])
break;
case 's':
InlineStdFuncs = 1;
break;
break;
}
}
break;