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) +