From 6ace6309cd760cdbde284fd0afcd4c744257c7a2 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 2 May 2003 13:49:49 +0000 Subject: [PATCH] Added the NES target git-svn-id: svn://svn.cc65.org/cc65/trunk@2121 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ld65/.cvsignore | 1 + src/ld65/make/gcc.mak | 3 +++ src/ld65/tgtcfg.c | 3 +++ 3 files changed, 7 insertions(+) diff --git a/src/ld65/.cvsignore b/src/ld65/.cvsignore index ee4936aeb..23f94a81a 100644 --- a/src/ld65/.cvsignore +++ b/src/ld65/.cvsignore @@ -15,6 +15,7 @@ cbm610.inc geos.inc lunix.inc module.inc +nes.inc none.inc pet.inc plus4.inc diff --git a/src/ld65/make/gcc.mak b/src/ld65/make/gcc.mak index 1aacc73d4..e20b7fcc9 100644 --- a/src/ld65/make/gcc.mak +++ b/src/ld65/make/gcc.mak @@ -142,6 +142,9 @@ lunix.inc: cfg/lunix.cfg module.inc: cfg/module.cfg @$(CVT) $< $@ CfgModule +nes.inc: cfg/nes.cfg + @$(CVT) $< $@ CfgNES + none.inc: cfg/none.cfg @$(CVT) $< $@ CfgNone diff --git a/src/ld65/tgtcfg.c b/src/ld65/tgtcfg.c index 219ce9302..cb9bdcfd0 100644 --- a/src/ld65/tgtcfg.c +++ b/src/ld65/tgtcfg.c @@ -64,6 +64,7 @@ static const char CfgEmpty[] = ""; #include "geos.inc" #include "lunix.inc" #include "module.inc" +#include "nes.inc" #include "none.inc" #include "pet.inc" #include "plus4.inc" @@ -96,6 +97,7 @@ const TargetDesc Targets [TGT_COUNT] = { { BINFMT_BINARY, CfgGeos }, { BINFMT_O65, CfgLunix }, { BINFMT_BINARY, CfgAtmos }, + { BINFMT_BINARY, CfgNES }, }; @@ -118,3 +120,4 @@ void DumpBuiltinConfig (FILE* F, target_t T) + -- 2.39.5