Added the lynx target
git-svn-id: svn://svn.cc65.org/cc65/trunk@3218 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -168,7 +168,7 @@ static void CBMSystem (const char* Sys)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static void SetSys (const char* Sys)
|
static void SetSys (const char* Sys)
|
||||||
/* Define a target system */
|
/* Define a target system */
|
||||||
{
|
{
|
||||||
@@ -254,6 +254,10 @@ static void SetSys (const char* Sys)
|
|||||||
NewSymbol ("__SUPERVISION__", 1);
|
NewSymbol ("__SUPERVISION__", 1);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case TGT_LYNX:
|
||||||
|
NewSymbol ("__LYNX__", 1);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
AbEnd ("Invalid target name: `%s'", Sys);
|
AbEnd ("Invalid target name: `%s'", Sys);
|
||||||
|
|
||||||
@@ -310,7 +314,7 @@ static void DefineSymbol (const char* Def)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Define the new symbol */
|
/* Define the new symbol */
|
||||||
NewSymbol (SymName, Val);
|
NewSymbol (SymName, Val);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,7 +229,7 @@ static void SetSys (const char* Sys)
|
|||||||
DefineNumericMacro ("__SUPERVISION__", 1);
|
DefineNumericMacro ("__SUPERVISION__", 1);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TGT_SUPERVISION:
|
case TGT_LYNX:
|
||||||
DefineNumericMacro ("__LYNX__", 1);
|
DefineNumericMacro ("__LYNX__", 1);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -730,7 +730,7 @@ int main (int argc, char* argv[])
|
|||||||
|
|
||||||
/* Initialize the default segment names */
|
/* Initialize the default segment names */
|
||||||
InitSegNames ();
|
InitSegNames ();
|
||||||
|
|
||||||
/* Initialize the include search paths */
|
/* Initialize the include search paths */
|
||||||
InitIncludePaths ();
|
InitIncludePaths ();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user