From b2af5120fbd416af1639f5d7f9fffa42ab221ce4 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 8 Oct 2004 09:23:59 +0000 Subject: [PATCH] Added the lynx target git-svn-id: svn://svn.cc65.org/cc65/trunk@3218 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/main.c | 8 ++++++-- src/cc65/main.c | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/ca65/main.c b/src/ca65/main.c index 199fa2310..e1d67a838 100644 --- a/src/ca65/main.c +++ b/src/ca65/main.c @@ -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); } diff --git a/src/cc65/main.c b/src/cc65/main.c index 787dec0a4..8d5443234 100644 --- a/src/cc65/main.c +++ b/src/cc65/main.c @@ -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 (); -- 2.39.5