mirror of
https://github.com/parasyte/alt64
synced 2024-11-02 00:05:03 -04:00
18 lines
403 B
Batchfile
18 lines
403 B
Batchfile
@echo off
|
|
set "SystemPath=%SystemRoot%\\System32"
|
|
IF EXIST %WINDIR%\\sysnative\\reg.exe (
|
|
set "SystemPath=%SystemRoot%\Sysnative"
|
|
echo. "32-bit process..."
|
|
)
|
|
|
|
set env="/usr/local/libdragon"
|
|
|
|
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"
|
|
)
|
|
|
|
:pause |