mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 03:30:05 +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:
parent
dab745e4b1
commit
0ac54f6f22
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user