]> git.sur5r.net Git - cc65/commitdiff
New target APPLE2ENH
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 11 Mar 2004 21:21:33 +0000 (21:21 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 11 Mar 2004 21:21:33 +0000 (21:21 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2910 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ld65/make/gcc.mak
src/ld65/tgtcfg.c

index 31d85ef5d3c4b3aa462b0ff6b901c43ecd454002..1486a6f26e2026ac9a34c95d2a817f61f2832c66 100644 (file)
@@ -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
index 9cc3c53e9b711bb428506ee23fde37c0148f6c8b..007da4dd5fdc5ac0a708cbe1a6a0d10284b76a74 100644 (file)
@@ -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        },