mpir/yasm/Mkfiles/vc9/genperf/run.bat

20 lines
459 B
Batchfile
Raw Normal View History

2008-06-15 17:27:00 -04:00
cd ..\..\..
@echo off
reg query HKCR\Python.File\shell\open\command >nul: 2>&1
goto answer%errorlevel%
:answer0
echo ... building with Python ...
@echo on
modules\arch\x86\gen_x86_insn.py
@echo off
goto end
:answer1
echo ... building without Python ...
goto end
:end
@echo on
%1 x86insn_nasm.gperf x86insn_nasm.c
%1 x86insn_gas.gperf x86insn_gas.c
%1 modules\arch\x86\x86cpu.gperf x86cpu.c
%1 modules\arch\x86\x86regtmod.gperf x86regtmod.c