1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-25 13:29:41 +00:00

Added the lynx target

git-svn-id: svn://svn.cc65.org/cc65/trunk@3218 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-10-08 09:23:59 +00:00
parent 23ef4fa172
commit b2af5120fb
2 changed files with 8 additions and 4 deletions

View File

@ -168,7 +168,7 @@ static void CBMSystem (const char* Sys)
}
static void SetSys (const char* Sys)
/* Define a target system */
{
@ -254,6 +254,10 @@ static void SetSys (const char* Sys)
NewSymbol ("__SUPERVISION__", 1);
break;
case TGT_LYNX:
NewSymbol ("__LYNX__", 1);
break;
default:
AbEnd ("Invalid target name: `%s'", Sys);
@ -310,7 +314,7 @@ static void DefineSymbol (const char* Def)
}
}
}
/* Define the new symbol */
NewSymbol (SymName, Val);
}

View File

@ -229,7 +229,7 @@ static void SetSys (const char* Sys)
DefineNumericMacro ("__SUPERVISION__", 1);
break;
case TGT_SUPERVISION:
case TGT_LYNX:
DefineNumericMacro ("__LYNX__", 1);
break;
@ -730,7 +730,7 @@ int main (int argc, char* argv[])
/* Initialize the default segment names */
InitSegNames ();
/* Initialize the include search paths */
InitIncludePaths ();