From: cuz Date: Thu, 25 Apr 2002 05:14:14 +0000 (+0000) Subject: New target 'module' X-Git-Tag: V2.12.0~2358 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dab745e4b13a7df70503cf534ce435dd95d09999;p=cc65 New target 'module' git-svn-id: svn://svn.cc65.org/cc65/trunk@1263 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/make/gcc.mak b/src/ld65/make/gcc.mak index 0ccfe08aa..1e8f0a68d 100644 --- a/src/ld65/make/gcc.mak +++ b/src/ld65/make/gcc.mak @@ -55,6 +55,7 @@ INCS = apple2.inc \ cbm610.inc \ geos.inc \ lunix.inc \ + module.inc \ none.inc \ pet.inc \ plus4.inc @@ -129,6 +130,9 @@ geos.inc: cfg/geos.cfg lunix.inc: cfg/lunix.cfg @$(CVT) $< $@ CfgLunix +module.inc: cfg/module.cfg + @$(CVT) $< $@ CfgModule + none.inc: cfg/none.cfg @$(CVT) $< $@ CfgNone diff --git a/src/ld65/tgtcfg.c b/src/ld65/tgtcfg.c index 99e03672a..8dc10a816 100644 --- a/src/ld65/tgtcfg.c +++ b/src/ld65/tgtcfg.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 1998-2001 Ullrich von Bassewitz */ +/* (C) 1998-2002 Ullrich von Bassewitz */ /* Wacholderweg 14 */ /* D-70597 Stuttgart */ /* EMail: uz@musoftware.de */ @@ -57,6 +57,7 @@ static const char CfgEmpty[] = ""; #include "cbm610.inc" #include "geos.inc" #include "lunix.inc" +#include "module.inc" #include "none.inc" #include "pet.inc" #include "plus4.inc" @@ -64,28 +65,28 @@ static const char CfgEmpty[] = ""; /*****************************************************************************/ -/* Data */ +/* Data */ /*****************************************************************************/ /* Target configurations for all systems */ const TargetDesc Targets [TGT_COUNT] = { - { BINFMT_BINARY, CfgNone }, - { BINFMT_BINARY, CfgAtari }, - { BINFMT_BINARY, CfgC64 }, - { BINFMT_BINARY, CfgC128 }, + { BINFMT_BINARY, CfgNone }, + { BINFMT_O65, CfgModule }, + { BINFMT_BINARY, CfgAtari }, + { BINFMT_BINARY, CfgC64 }, + { BINFMT_BINARY, CfgC128 }, { BINFMT_BINARY, CfgEmpty }, /* Ace */ - { BINFMT_BINARY, CfgPlus4 }, - { BINFMT_BINARY, CfgCBM510 }, - { BINFMT_BINARY, CfgCBM610 }, - { BINFMT_BINARY, CfgPET }, - { BINFMT_BINARY, CfgBBC }, - { BINFMT_BINARY, CfgApple2 }, - { BINFMT_BINARY, CfgGeos }, + { BINFMT_BINARY, CfgPlus4 }, + { BINFMT_BINARY, CfgCBM510 }, + { BINFMT_BINARY, CfgCBM610 }, + { BINFMT_BINARY, CfgPET }, + { BINFMT_BINARY, CfgBBC }, + { BINFMT_BINARY, CfgApple2 }, + { BINFMT_BINARY, CfgGeos }, { BINFMT_O65, CfgLunix }, }; -