mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
Pass the target to the geos resource compiler.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5520 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
cc4b960b96
commit
6e04b7dd71
@ -6,7 +6,7 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 1999-2011, Ullrich von Bassewitz */
|
||||
/* (C) 1999-2012, Ullrich von Bassewitz */
|
||||
/* Roemerstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
@ -594,6 +594,12 @@ static void CompileRes (const char* File)
|
||||
/* Remember the current assembler argument count */
|
||||
unsigned ArgCount = GRC.ArgCount;
|
||||
|
||||
/* Resource files need an geos-apple or geos-cbm target */
|
||||
if (Target != TGT_GEOS_APPLE && Target != TGT_GEOS_CBM) {
|
||||
Error ("Resource files need a geos-apple or geos-cbm, target");
|
||||
}
|
||||
CmdSetTarget (&GRC, Target);
|
||||
|
||||
/* Add the file as argument for the resource compiler */
|
||||
CmdAddArg (&GRC, File);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user