From bcf09a96bbcd7186f59a650d9089fc54611a835d Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 11 Mar 2004 21:21:33 +0000 Subject: [PATCH] New target APPLE2ENH git-svn-id: svn://svn.cc65.org/cc65/trunk@2910 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ld65/make/gcc.mak | 5 +++++ src/ld65/tgtcfg.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ld65/make/gcc.mak b/src/ld65/make/gcc.mak index 31d85ef5d..1486a6f26 100644 --- a/src/ld65/make/gcc.mak +++ b/src/ld65/make/gcc.mak @@ -51,6 +51,7 @@ OBJS = asserts.o \ # List of all config includes INCS = apple2.inc \ + apple2enh.inc \ atari.inc \ atmos.inc \ bbc.inc \ @@ -114,6 +115,10 @@ depend dep: $(OBJS:.o=.c) apple2.inc: cfg/apple2.cfg @$(CVT) $< $@ CfgApple2 + +# The apple2enh target uses the same config as the apple2 +apple2enh.inc: cfg/apple2.cfg + @$(CVT) $< $@ CfgApple2Enh atari.inc: cfg/atari.cfg @$(CVT) $< $@ CfgAtari diff --git a/src/ld65/tgtcfg.c b/src/ld65/tgtcfg.c index 9cc3c53e9..007da4dd5 100644 --- a/src/ld65/tgtcfg.c +++ b/src/ld65/tgtcfg.c @@ -53,6 +53,7 @@ static const char CfgEmpty[] = ""; /* Actual target configurations, converted into C strings by a perl script */ #include "apple2.inc" +#include "apple2enh.inc" #include "atari.inc" #include "atmos.inc" #include "bbc.inc" @@ -78,7 +79,7 @@ static const char CfgEmpty[] = ""; /*****************************************************************************/ - + /* Target configurations for all systems */ const TargetDesc Targets [TGT_COUNT] = { { BINFMT_BINARY, CfgNone }, @@ -95,6 +96,7 @@ const TargetDesc Targets [TGT_COUNT] = { { BINFMT_BINARY, CfgPET }, { BINFMT_BINARY, CfgBBC }, { BINFMT_BINARY, CfgApple2 }, + { BINFMT_BINARY, CfgApple2Enh }, { BINFMT_BINARY, CfgGeos }, { BINFMT_O65, CfgLunix }, { BINFMT_BINARY, CfgAtmos }, -- 2.39.5