ok
This commit is contained in:
parent
7d2b5a17a4
commit
cdf7657b19
3 changed files with 3 additions and 3 deletions
2
NTMakefile
generated
2
NTMakefile
generated
|
|
@ -2,7 +2,7 @@ CC = cl /TC /c /nologo
|
|||
LD = link /nologo
|
||||
|
||||
!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]
|
||||
!if [echo DX9_FLAGS = /DMW_DIRECT3D9 /I"%DXSDK_DIR%\\Include">d3d9flags.mk]
|
||||
!endif
|
||||
!else
|
||||
!if [echo DX9_FLAGS =>d3d9flags.mk]
|
||||
|
|
|
|||
2
configure
vendored
2
configure
vendored
|
|
@ -246,7 +246,7 @@ print(OUT
|
|||
" clang-format --verbose -i `find tools src include examples \"(\" -name \"*.c\" -or -name \"*.cc\" -or -name \"*.h\" -or -name \"*.m\" \")\" -and -not -name \"*ttf.c\"`\n"
|
||||
);
|
||||
print(OUT
|
||||
" perltidy -b -bext=\"/\" --paren-tightness=2 `find tools pl configure -name \"*.pl\"`\n"
|
||||
" perltidy -b -bext=\"/\" --paren-tightness=2 `find tools pl -name \"*.pl\"` configure\n"
|
||||
);
|
||||
print(OUT "\n");
|
||||
print(OUT "lib:");
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ sub cobjs {
|
|||
sub d3d9_detect_block {
|
||||
return <<'EOF';
|
||||
!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]
|
||||
!if [echo DX9_FLAGS = /DMW_DIRECT3D9 /I"%DXSDK_DIR%\\Include">d3d9flags.mk]
|
||||
!endif
|
||||
!else
|
||||
!if [echo DX9_FLAGS =>d3d9flags.mk]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue