]> git.sur5r.net Git - cc65/blobdiff - src/cc65/global.h
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / src / cc65 / global.h
index fb3bce1d2cfbea993c4fe5c04a4c96c426766e2a..b9c15a26ed8fe95764e3afb99d83bdc0aaf77224 100644 (file)
@@ -1,12 +1,12 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                global.h                                  */
+/*                                 global.h                                  */
 /*                                                                           */
-/*                Global variables for the cc65 C compiler                  */
+/*                 Global variables for the cc65 C compiler                  */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2009, Ullrich von Bassewitz                                      */
+/* (C) 1998-2012, Ullrich von Bassewitz                                      */
 /*                Roemerstrasse 52                                           */
 /*                D-70794 Filderstadt                                        */
 /* EMail:         uz@cc65.org                                                */
 
 /* common */
 #include "intstack.h"
+#include "strbuf.h"
 
 
 
 /*****************************************************************************/
-/*                                  Data                                    */
+/*                                   Data                                    */
 /*****************************************************************************/
 
 
 
 /* Options */
-extern unsigned char   AddSource;              /* Add source lines as comments */
-extern unsigned char   DebugInfo;              /* Add debug info to the obj */
-extern unsigned char   CreateDep;              /* Create a dependency file */
+extern unsigned char    AddSource;              /* Add source lines as comments */
+extern unsigned char    DebugInfo;              /* Add debug info to the obj */
 extern unsigned char    PreprocessOnly;         /* Just preprocess the input */
+extern unsigned char    DebugOptOutput;         /* Output debug stuff */
 extern unsigned         RegisterSpace;          /* Space available for register vars */
 
 /* Stackable options */
-extern IntStack         WritableStrings;       /* Literal strings are r/w */
+extern IntStack         WritableStrings;        /* Literal strings are r/w */
 extern IntStack         LocalStrings;           /* Emit string literals immediately */
-extern IntStack         InlineStdFuncs;                /* Inline some known functions */
-extern IntStack         EnableRegVars;         /* Enable register variables */
-extern IntStack         AllowRegVarAddr;       /* Allow taking addresses of register vars */
-extern IntStack         RegVarsToCallStack;    /* Save reg variables on call stack */
-extern IntStack         StaticLocals;          /* Make local variables static */
-extern IntStack         SignedChars;           /* Make characters signed by default */
-extern IntStack         CheckStack;            /* Generate stack overflow checks */
-extern IntStack         Optimize;              /* Optimize flag */
-extern IntStack         CodeSizeFactor;                /* Size factor for generated code */
+extern IntStack         InlineStdFuncs;         /* Inline some known functions */
+extern IntStack         EnableRegVars;          /* Enable register variables */
+extern IntStack         AllowRegVarAddr;        /* Allow taking addresses of register vars */
+extern IntStack         RegVarsToCallStack;     /* Save reg variables on call stack */
+extern IntStack         StaticLocals;           /* Make local variables static */
+extern IntStack         SignedChars;            /* Make characters signed by default */
+extern IntStack         CheckStack;             /* Generate stack overflow checks */
+extern IntStack         Optimize;               /* Optimize flag */
+extern IntStack         CodeSizeFactor;         /* Size factor for generated code */
+extern IntStack         DataAlignment;          /* Alignment for data */
+
+/* File names */
+extern StrBuf           DepName;                /* Name of dependencies file */
+extern StrBuf           FullDepName;            /* Name of full dependencies file */
+extern StrBuf           DepTarget;              /* Name of dependency target */