From: uz Date: Sat, 1 May 2010 09:42:12 +0000 (+0000) Subject: Changed generation of makefile dependencies: X-Git-Tag: V2.13.3~773 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=96cf7f62716a2dbfd8fc7c551708f74246eed4fd;p=cc65 Changed generation of makefile dependencies: * There are now two options, --create-dep and --create-full-dep. One will add system includes, the other not. * Both options require a file name. This is an incompatible change(!) but has the advantage that the user is in control of extension and path of the generated file. * Output will always include a phony target for the input files. This may not work with all make programs. git-svn-id: svn://svn.cc65.org/cc65/trunk@4652 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/cc65.sgml b/doc/cc65.sgml index fcbe186a2..eb5febced 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -49,52 +49,60 @@ The compiler may be called as follows: --------------------------------------------------------------------------- -Usage: cc65 [options] file -Short options: - -Cl Make local variables static - -Dsym[=defn] Define a symbol - -I dir Set an include directory search path - -O Optimize code - -Oi Optimize code, inline more code - -Or Enable register variables - -Os Inline some known functions - -T Include source as comment - -V Print the compiler version number - -W name[,name] Enable or disable warnings - -d Debug mode - -g Add debug info to object file - -h Help (this text) - -j Default characters are signed - -o name Name the output file - -r Enable register variables - -t sys Set the target system - -v Increase verbosity +Usage: cc65 [options] file +Short options: + -Cl Make local variables static + -Dsym[=defn] Define a symbol + -E Stop after the preprocessing stage + -I dir Set an include directory search path + -O Optimize code + -Oi Optimize code, inline more code + -Or Enable register variables + -Os Inline some known functions + -T Include source as comment + -V Print the compiler version number + -W Suppress warnings + -d Debug mode + -g Add debug info to object file + -h Help (this text) + -j Default characters are signed + -mm model Set the memory model + -o name Name the output file + -r Enable register variables + -t sys Set the target system + -v Increase verbosity Long options: - --add-source Include source as comment - --bss-name seg Set the name of the BSS segment - --check-stack Generate stack overflow checks - --code-name seg Set the name of the CODE segment - --codesize x Accept larger code by factor x - --cpu type Set cpu type - --create-dep Create a make dependency file - --data-name seg Set the name of the DATA segment - --debug Debug mode - --debug-info Add debug info to object file - --forget-inc-paths Forget include search paths - --help Help (this text) - --include-dir dir Set an include directory search path - --local-strings Emit string literals immediately - --register-space b Set space available for register variables - --register-vars Enable register variables - --rodata-name seg Set the name of the RODATA segment - --signed-chars Default characters are signed - --standard std Language standard (c89, c99, cc65) - --static-locals Make local variables static - --target sys Set the target system - --verbose Increase verbosity - --version Print the compiler version number - --writable-strings Make string literals writable + --add-source Include source as comment + --bss-name seg Set the name of the BSS segment + --check-stack Generate stack overflow checks + --code-name seg Set the name of the CODE segment + --codesize x Accept larger code by factor x + --cpu type Set cpu type (6502, 65c02) + --create-dep name Create a make dependency file + --create-full-dep name Create a full make dependency file + --data-name seg Set the name of the DATA segment + --debug Debug mode + --debug-info Add debug info to object file + --debug-opt name Debug optimization steps + --disable-opt name Disable an optimization step + --enable-opt name Enable an optimization step + --forget-inc-paths Forget include search paths + --help Help (this text) + --include-dir dir Set an include directory search path + --list-opt-steps List all optimizer steps and exit + --local-strings Emit string literals immediately + --memory-model model Set the memory model + --register-space b Set space available for register variables + --register-vars Enable register variables + --rodata-name seg Set the name of the RODATA segment + --signed-chars Default characters are signed + --standard std Language standard (c89, c99, cc65) + --static-locals Make local variables static + --target sys Set the target system + --verbose Increase verbosity + --version Print the compiler version number + --writable-strings Make string literals writable --------------------------------------------------------------------------- @@ -139,20 +147,29 @@ Here is a description of all the command line options: