Add the 'module' target
git-svn-id: svn://svn.cc65.org/cc65/trunk@1264 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* */
|
/* */
|
||||||
/* (C) 1998-2001 Ullrich von Bassewitz */
|
/* (C) 1998-2002 Ullrich von Bassewitz */
|
||||||
/* Wacholderweg 14 */
|
/* Wacholderweg 14 */
|
||||||
/* D-70597 Stuttgart */
|
/* D-70597 Stuttgart */
|
||||||
/* EMail: uz@musoftware.de */
|
/* 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 */
|
/* Map the target name to a target id */
|
||||||
Target = FindTarget (Arg);
|
Target = FindTarget (Arg);
|
||||||
if (Target == TGT_UNKNOWN) {
|
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 */
|
/* Wacholderweg 14 */
|
||||||
/* D-70597 Stuttgart */
|
/* D-70597 Stuttgart */
|
||||||
/* EMail: uz@cc65.org */
|
/* EMail: uz@cc65.org */
|
||||||
@@ -140,6 +140,10 @@ static void SetSys (const char* Sys)
|
|||||||
case TGT_NONE:
|
case TGT_NONE:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case TGT_MODULE:
|
||||||
|
AbEnd ("Cannot use `module' as a target for the compiler");
|
||||||
|
break;
|
||||||
|
|
||||||
case TGT_ATARI:
|
case TGT_ATARI:
|
||||||
DefineNumericMacro ("__ATARI__", 1);
|
DefineNumericMacro ("__ATARI__", 1);
|
||||||
break;
|
break;
|
||||||
@@ -705,7 +709,7 @@ int main (int argc, char* argv[])
|
|||||||
break;
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
InlineStdFuncs = 1;
|
InlineStdFuncs = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user