fix
This commit is contained in:
parent
21911dd899
commit
dfa8c22f1a
3 changed files with 5 additions and 22 deletions
|
|
@ -44,8 +44,8 @@ sub cobjs {
|
|||
|
||||
sub d3d9_detect_block {
|
||||
return <<'EOF';
|
||||
!if [where d3d9.h >nul 2>nul]
|
||||
!if [for /f "delims=" %P in ('where d3d9.h 2^>nul') do @echo DX9_FLAGS = /DMW_DIRECT3D9 /I"%~dpP">d3d9flags.mk]
|
||||
!if [where /R "%DXSDK_DIR%\\Include" d3d9.h >nul 2>nul]
|
||||
!if [for /f "delims=" %P in ('where /R "%DXSDK_DIR%\\Include" d3d9.h 2^>nul') do @echo DX9_FLAGS = /DMW_DIRECT3D9 /I"%~dpP">d3d9flags.mk]
|
||||
!endif
|
||||
!else
|
||||
!if [echo DX9_FLAGS =>d3d9flags.mk]
|
||||
|
|
@ -131,9 +131,6 @@ sub generate {
|
|||
$prefobj = "file ";
|
||||
$needlibs = "${lib}clib3r.lib";
|
||||
$c_dllout = "option implib=src${dir}Mw.lib";
|
||||
|
||||
$d3d9_flags = "\$(DX9_FLAGS)";
|
||||
$d3d9_block = d3d9_detect_block();
|
||||
}
|
||||
|
||||
open(OUT, ">", $output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue