272
edits
Hamzaalloush (talk | contribs) |
Hamzaalloush (talk | contribs) (→MXE: to do, clean up) |
||
| Line 79: | Line 79: | ||
the Makefile provides a set of Unix portable target-rules for the native GNU make utility. | the Makefile provides a set of Unix portable target-rules for the native GNU make utility. | ||
for | for the full set of targets that can be passed as arguments to the GNU make utility, visit: http://mxe.cc/#usage | ||
for example, a simple: | for example, a simple: | ||
| Line 87: | Line 87: | ||
</pre> | </pre> | ||
by use of native tools such as the GNU Make Standard Library functions and simple substitution, the Makefile parses through a list of package names, that are contained within an index.html file, and stores them into a white-space separated string. | |||
MXE's Makefile, Line:47 | |||
<pre> | <pre> | ||
PKGS := $(call set_create,\ | PKGS := $(call set_create,\ | ||
| Line 97: | Line 95: | ||
</pre> | </pre> | ||
packages are contained in index.html as html table elements, the name of the package is the value of html subtype "package": | |||
<pre> | <pre> | ||
<tr> | |||
<td class="package">simgear</td> | |||
<td class="website"><a href="https://sourceforge.net/projects/flightgear/">SimGear - Simulator Construction Tools</a></td> | |||
</tr> | |||
<tr> | <tr> | ||
<td class="package">fgfs</td> | <td class="package">fgfs</td> | ||
<td class="website"><a href="https://sourceforge.net/projects/flightgear/">FlightGear Flight Simulator | <td class="website"><a href="https://sourceforge.net/projects/flightgear/">FlightGear Flight Simulator</a></td> | ||
</tr> | </tr> | ||
</pre> | </pre> | ||
| Line 107: | Line 109: | ||
=== MXE's Makefile build process === | === MXE's Makefile build process === | ||
MXE's Makefile, does not build software by itself. or rather, it does not generate configuration for software | MXE's Makefile, does not build software by itself. or rather, it does not generate configuration for software. | ||
for example, if you were to pass the name of | for example, if you were to pass the name of a package to be cross-compiled to the GNU make utility in MXE, such as: | ||
<pre> | <pre> | ||
$ make fgfs | $ make fgfs | ||
</pre> | </pre> | ||
'''TO DO''' | |||
=== *.MK file === | === *.MK file === | ||
'''TO DO''' | |||
edits