This commit is contained in:
parent
b355a2ed93
commit
9de7b9c987
3 changed files with 26 additions and 26 deletions
10
WatMakefile
generated
10
WatMakefile
generated
|
|
@ -2,14 +2,14 @@ CC = wcc386 -bt=nt -q
|
|||
LD = wlink option quiet
|
||||
|
||||
!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">dx9flags.mk]
|
||||
!if [for /f "delims=" %P in ('where d3d9.h 2^>nul') do @echo DX9_FLAGS = /DMW_DIRECT3D9 /I"%~dpP">d3d9flags.mk]
|
||||
!endif
|
||||
!else
|
||||
!if [echo DX9_FLAGS =>dx9flags.mk]
|
||||
!if [echo DX9_FLAGS =>d3d9flags.mk]
|
||||
!endif
|
||||
!endif
|
||||
!if exist("dx9flags.mk")
|
||||
!include "dx9flags.mk"
|
||||
!if exist("d3d9flags.mk")
|
||||
!include "d3d9flags.mk"
|
||||
!else
|
||||
DX9_FLAGS =
|
||||
!endif
|
||||
|
|
@ -121,7 +121,7 @@ clean: .SYMBOLIC
|
|||
%erase src/widget/window.obj
|
||||
%erase src/Mw.dll
|
||||
%erase src/Mw.lib
|
||||
%erase dx9flags.mk
|
||||
%erase d3d9flags.mk
|
||||
%erase examples/basic/box.obj
|
||||
%erase examples/basic/calculator.obj
|
||||
%erase examples/basic/checkbox.obj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue