Changeset 123 for trunk/src/emx/build.txt
- Timestamp:
- May 12, 2003, 12:48:43 PM (23 years ago)
- File:
-
- 1 edited
-
trunk/src/emx/build.txt (modified) (4 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/build.txt
-
Property cvs2svn:cvs-rev
changed from
1.1to1.2
r122 r123 95 95 'make help' in the module list section. 96 96 97 98 99 97 100 .TARGET - The name of target (e.g. executable or library file name without dir). 98 101 For example: .TARGET=myfile.exe … … 100 103 .TKIND - (optional) The kind of target. It can consist of up to three 101 104 components, the first one defines the object file format (omf or aout, 102 if not defined defaults to omf), the second defines the threadness103 (st or mt, defaults to st), third can be 'prof' to build inprofiling mode.104 Example: .TKIND=omf stprof105 if not defined defaults to omf), the second 106 profiling mode. 107 Example: .TKIND=omf prof 105 108 106 109 .TDEP - Dependencies for target (not built from a source file). For example, … … 141 144 mklib.smak - this builder creates a library. It defines all rules required 142 145 for building all object files and then runs the librarian which binds all 143 object files together in a single library. 146 object files together in a single library. Besides, if the file format is 147 a.out, it also defines a target called '$(.MODULE)@omf' (e.g. for module 148 zzz it also defines a module called zzz@omf) which will build the OMF 149 library from its a.out counterpart by using emxomf. 144 150 145 151 Here is a simple example of a submakefile that will build a simple helloworld … … 195 201 files from a single source file they are put under different output directories 196 202 (e.g. single-threaded OMF object files go into $(OUT)/omf-st/ directory while 197 multi-threaded a.out object files with profiling go into $(OUT)/aout- mt-prof/203 multi-threaded a.out object files with profiling go into $(OUT)/aout-prof/ 198 204 directory). This way, you can have several targets that are built from the 199 205 same source files with different compilation options. -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
