Mercurial > pub > dyncall > dyncall
annotate buildsys/scripts/conf-nds.bat @ 632:ed19b429a152
- added explicit arm64 target, and clang tool options to Windows' configure.bat
- configure.{bat,rc} now writing Makefile.config, for consistency/compatibility (e.g. configure.bat can now be used to set up env flags for a non-nmake toolchain)
- simplified/decluttered Windows and Plan9 configure scripts (removal of unused/stale options, ...)
- removed stale test/makepkg.sh helper
author | Tassilo Philipp |
---|---|
date | Sat, 19 Nov 2022 15:45:41 +0100 |
parents | 3e629dc19168 |
children |
rev | line source |
---|---|
0 | 1 @ECHO OFF |
2 REM /////////////////////////////////////////////////////////////////////////// | |
3 REM | |
632
ed19b429a152
- added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents:
0
diff
changeset
|
4 REM Copyright (c) 2007-2022 Daniel Adler <dadler@uni-goettingen.de>, |
0 | 5 REM Tassilo Philipp <tphilipp@potion-studios.com> |
6 REM | |
7 REM Permission to use, copy, modify, and distribute this software for any | |
8 REM purpose with or without fee is hereby granted, provided that the above | |
9 REM copyright notice and this permission notice appear in all copies. | |
10 REM | |
11 REM THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
12 REM WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
13 REM MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
14 REM ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
15 REM WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
16 REM ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
17 REM OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
18 REM | |
19 REM /////////////////////////////////////////////////////////////////////////// | |
20 | |
21 REM We need at least 2 characters in the path. | |
22 IF [%DEVKITPRO:~0,1%]==[%DEVKITPRO%] ( | |
23 GOTO END_ABORT | |
24 ) | |
25 | |
26 REM Extract devkitPro path. | |
27 IF [%DEVKITPRO:~0,1%]==[/] ( | |
632
ed19b429a152
- added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents:
0
diff
changeset
|
28 ECHO DEVKITPRO_PATH=%DEVKITPRO:~1,1%:%DEVKITPRO:~2%#>>Makefile.config |
0 | 29 ) ELSE IF [%DEVKITPRO:~1,1%]==[:] ( |
632
ed19b429a152
- added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents:
0
diff
changeset
|
30 ECHO DEVKITPRO_PATH=%DEVKITPRO%#>>Makefile.config |
0 | 31 ) ELSE ( |
32 GOTO END_ABORT | |
33 ) | |
34 | |
35 GOTO END | |
36 | |
37 :END_ABORT | |
38 ECHO ERROR: Environment variable DEVKITPRO must be set to absolute devkitPro path. | |
632
ed19b429a152
- added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents:
0
diff
changeset
|
39 DEL Makefile.config |
0 | 40 |
41 :END |