Move the version numbers from the interface of the version module into a new
implementation. Allow for release candidates to be specified and disinguished. git-svn-id: svn://svn.cc65.org/cc65/trunk@4260 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 2003 Ullrich von Bassewitz */
|
||||
/* R<EFBFBD>merstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* (C) 2003-2009, Ullrich von Bassewitz */
|
||||
/* Roemerstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* */
|
||||
/* */
|
||||
/* This software is provided 'as-is', without any expressed or implied */
|
||||
@@ -454,8 +454,8 @@ void Convert (const O65Data* D)
|
||||
}
|
||||
|
||||
/* Create a header */
|
||||
fprintf (F, ";\n; File generated by co65 v %u.%u.%u using model `%s'\n;\n",
|
||||
VER_MAJOR, VER_MINOR, VER_PATCH, GetModelName (Model));
|
||||
fprintf (F, ";\n; File generated by co65 v %s using model `%s'\n;\n",
|
||||
GetVersionAsString (), GetModelName (Model));
|
||||
|
||||
/* Select the CPU */
|
||||
if ((D->Header.mode & O65_CPU_MASK) == O65_CPU_65816) {
|
||||
@@ -463,8 +463,7 @@ void Convert (const O65Data* D)
|
||||
}
|
||||
|
||||
/* Object file options */
|
||||
fprintf (F, ".fopt\t\tcompiler,\"co65 v %u.%u.%u\"\n",
|
||||
VER_MAJOR, VER_MINOR, VER_PATCH);
|
||||
fprintf (F, ".fopt\t\tcompiler,\"co65 v %s\"\n", GetVersionAsString ());
|
||||
if (Author) {
|
||||
fprintf (F, ".fopt\t\tauthor, \"%s\"\n", Author);
|
||||
xfree (Author);
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 2003 Ullrich von Bassewitz */
|
||||
/* R<EFBFBD>merstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* (C) 2003-2009, Ullrich von Bassewitz */
|
||||
/* Roemerstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* */
|
||||
/* */
|
||||
/* This software is provided 'as-is', without any expressed or implied */
|
||||
@@ -264,8 +264,8 @@ static void OptVersion (const char* Opt attribute ((unused)),
|
||||
/* Print the assembler version */
|
||||
{
|
||||
fprintf (stderr,
|
||||
"co65 V%u.%u.%u - (C) Copyright 1998-2003 Ullrich von Bassewitz\n",
|
||||
VER_MAJOR, VER_MINOR, VER_PATCH);
|
||||
"co65 V%s - (C) Copyright 1998-2009 Ullrich von Bassewitz\n",
|
||||
GetVersionAsString ());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user