]> git.sur5r.net Git - cc65/commitdiff
Added the --force-import option also to the cl65 utility.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 27 Aug 2009 15:30:52 +0000 (15:30 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 27 Aug 2009 15:30:52 +0000 (15:30 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4053 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cl65/main.c

index 0c27389019eea9dc55623abf5b0b318607113db0..a00cf745e129f3959a0948c5216136f6bb36894c 100644 (file)
@@ -6,8 +6,8 @@
 /*                                                                          */
 /*                                                                          */
 /*                                                                          */
-/* (C) 1999-2005, Ullrich von Bassewitz                                      */
-/*                Römerstrasse 52                                            */
+/* (C) 1999-2009, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
 /*                D-70794 Filderstadt                                        */
 /* EMail:         uz@cc65.org                                                */
 /*                                                                          */
@@ -877,6 +877,14 @@ static void OptFeature (const char* Opt attribute ((unused)), const char* Arg)
 
 
 
+static void OptForceImport (const char* Opt attribute ((unused)), const char* Arg)
+/* Emulation features for the assembler */
+{
+    CmdAddArg2 (&LD65, "--force-import", Arg);
+}                                     
+
+
+
 static void OptForgetIncPaths (const char* Opt attribute ((unused)),
                                const char* Arg attribute ((unused)))
 /* Forget all currently defined include paths */
@@ -1164,6 +1172,7 @@ int main (int argc, char* argv [])
        { "--debug",            0,      OptDebug                },
        { "--debug-info",       0,      OptDebugInfo            },
        { "--feature",          1,      OptFeature              },
+        { "--force-import",     1,      OptForceImport          },
                { "--forget-inc-paths", 0,      OptForgetIncPaths       },
        { "--help",             0,      OptHelp                 },
        { "--include-dir",      1,      OptIncludeDir           },