/* */
/* */
/* */
-/* (C) 1998-2001 Ullrich von Bassewitz */
+/* (C) 1998-2002 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@musoftware.de */
/* 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");
}
}
/* */
/* */
/* */
-/* (C) 2000-2001 Ullrich von Bassewitz */
+/* (C) 2000-2002 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@cc65.org */
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;
break;
case 's':
InlineStdFuncs = 1;
- break;
+ break;
}
}
break;