2017-10-06 09:48:52 -04:00
|
|
|
::
|
|
|
|
:: Copyright (c) 2017 The Altra64 project contributors
|
|
|
|
:: See LICENSE file in the project root for full license information.
|
|
|
|
::
|
|
|
|
|
2016-12-12 18:52:36 -05:00
|
|
|
@echo off
|
2016-12-13 10:37:40 -05:00
|
|
|
set "SystemPath=%SystemRoot%\\System32"
|
|
|
|
IF EXIST %WINDIR%\\sysnative\\reg.exe (
|
|
|
|
set "SystemPath=%SystemRoot%\Sysnative"
|
|
|
|
echo. "32-bit process..."
|
|
|
|
)
|
2016-12-12 18:52:36 -05:00
|
|
|
|
2016-12-13 10:37:40 -05:00
|
|
|
set env="/usr/local/libdragon"
|
2016-12-12 18:52:36 -05:00
|
|
|
|
2016-12-13 10:37:40 -05:00
|
|
|
IF %1.==. (
|
|
|
|
echo. "no parameter"
|
|
|
|
%SystemPath%\\bash --verbose -c "export N64_INST=%env%; make"
|
|
|
|
) ELSE (
|
|
|
|
echo. "parameter: %1"
|
|
|
|
%SystemPath%\\bash --verbose -c "export N64_INST=%env%; make %1"
|
|
|
|
)
|
2016-12-12 18:52:36 -05:00
|
|
|
|
2016-12-13 10:37:40 -05:00
|
|
|
:pause
|