CreateMake
reads a file Project.PinkMake and creates a UNIX makefile for building the project. CreateMake
writes the makefile to stdout
; by convention, you should redirect the output to Project.Make.Arguments | -D define | Includes the specified definition during processing. |
-fast |
Preprocesses the source files and creates a single .C that #includes the source files to build each target. Results in faster builds, but is not to be used for final builds.
|
|
-target target |
Generate a makefile for a specific target. Currently used only by Taligent Operating System and the target is intel . Use Universal.Make.Intel instead of Universal.Make .
|
|
-I includePath |
Adds the path to the #include directory search list.
|
|
-noum |
Generates a makefile that does not rely on Universal.Make for processing.
|
|
-vers |
Echoes the current version and copyright information to stderr . This is the same header that appears at the top of created makefiles. If you use this option with no other parameters, the information echoes and CreateMake exits. Otherwise, the information echoes and processing continues.
|
|
outputfile |
The file containing the new makefile. If you omit outputfile, output goes to stdout .
|
|
sourcefile |
The input file to process is usually a *.PinkMake filename. If you omit sourcefile, CreateMake assumes the current directory name is the project. For example, if the current directory is /TestLib , the sourcefile is TestLib.PinkMake.
|
You do not usually call
Simple projects require simple
Usage
CreateMake
directly; instead, you should use Makeit
to automatically invoke CreateMake
(see "Makeit" on page 83). Makeit
executes CreateMake
if the makefile is out-of-date or missing. Makefile format
CreateMake
generates a standard AIX makefile whose content depends on the targets in sourcefile. Each makefile supports the standard Taligent build steps (Includes, Objects, Exports, and Binaries). Example
make
commands. For example, to create a makefile named Sample.Make
, which builds a target from the C source files in the working directory:
CreateMake Sample.PinkMake > Sample.Make
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Generated with WebMaker