15 echo " --dedicated Make a dedicated build [no]" |
15 echo " --dedicated Make a dedicated build [no]" |
16 echo " --revision Set the revision of the compilation [detected]" |
16 echo " --revision Set the revision of the compilation [detected]" |
17 echo " --target-cc Sets the target-compiler [\$CC]" |
17 echo " --target-cc Sets the target-compiler [\$CC]" |
18 echo " --target-cxx Sets the C++ target-compiler []" |
18 echo " --target-cxx Sets the C++ target-compiler []" |
19 echo " --host-cc Sets the host-compiler [\$CC]" |
19 echo " --host-cc Sets the host-compiler [\$CC]" |
|
20 echo " --host-cxx Sets the C++ host-compiler []" |
20 echo " --os Sets the OS. Listens to: [detected]" |
21 echo " --os Sets the OS. Listens to: [detected]" |
21 echo " UNIX, OSX, FREEBSD, MORPHOS" |
22 echo " UNIX, OSX, FREEBSD, MORPHOS" |
22 echo " BEOS, SUNOS, CYGWIN, MINGW" |
23 echo " BEOS, SUNOS, CYGWIN, MINGW" |
23 echo " --windres Sets the windres (Windows) [windres]" |
24 echo " --windres Sets the windres (Windows) [windres]" |
24 echo " --force-le Force LE platform [no]" |
25 echo " --force-le Force LE platform [no]" |
266 |
273 |
267 echo "make upgradeconf $PARAM" > Makefile.run |
274 echo "make upgradeconf $PARAM" > Makefile.run |
268 . Makefile.run |
275 . Makefile.run |
269 rm -f Makefile.run |
276 rm -f Makefile.run |
270 |
277 |
271 # Makefile.config currently doesn't support custom CXX, so, we add the line |
278 # Makefile.config currently doesn't support custom RELEASE (revision), so, we add the line |
272 # ourself! |
279 # yourself! |
273 |
|
274 if ! test -z "$TARGET_CXX" |
|
275 then |
|
276 echo "CXX=$TARGET_CXX" >> Makefile.config |
|
277 fi |
|
278 |
|
279 # Same for RELEASE (read: REVISION) |
|
280 |
280 |
281 if ! test -z "$RELEASE" |
281 if ! test -z "$RELEASE" |
282 then |
282 then |
283 echo "RELEASE=$RELEASE" >> Makefile.config |
283 echo "RELEASE=$RELEASE" >> Makefile.config |
284 fi |
284 fi |