Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - -fo<x> set object file name http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 -Fo<x>              Set object file name
------------------------------------------------------------------------------
 Syntax
   -Fo[<path>]<file>[<ext>]

 Arguments
   <path> is an optional path for the object file.
   <file> is the file base file name of the object file.
   <ext> is an optional extension for the object file.

 Default
   The base name of the source file with .obj extension appended.

 Description
   The -Fo switch sets the name for the generated object file.
   By default, Force creates an object file with the extension .obj, having
   the same base name as the source code file in the current directory.

   If you want Force to either give another name to the object file or to
   write it into another directory, you can use this option to modify the
   default. Changing the default extension for the object file is not
   recommended.

   Note that using this option requires specifying the object file name,
   even if you want to keep the name and just have the object file
   written into another directory path.

 Example
   . Compile test.prg and write myobj.obj into the current directory.
   
     force.exe -Fomyobj test.prg
   
   . Compile test.prg and write test.obj into the obj directory located
     under the current directory.
   
     force.exe -Foobj\test.obj test.prg

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson