have watcom check for d3d8.h/d3d9.h
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
2ef5092854
commit
037b8e2120
2 changed files with 19 additions and 3 deletions
16
WatMakefile
generated
16
WatMakefile
generated
|
|
@ -1,7 +1,20 @@
|
|||
CC = wcc386 -bt=nt -q
|
||||
LD = wlink option quiet
|
||||
|
||||
MW_CFLAGS = -bd -i=include -i=external/libz/include -d_MILSKO -d_MILSKO_BUILD -dUSE_GDI -dUSE_STB_IMAGE -dSTBI_NO_SIMD -dUSE_GDI_TEXT -dMW_OPENGL -dMW_DIRECTX8 -dMW_DIRECTX9
|
||||
!if [where d3d9.h >nul 2>nul]
|
||||
!if [for /f "delims=" %P in ('where d3d9.h 2^>nul') do @echo DX9_FLAGS = /DMW_DIRECTX9 /I"%~dpP">dx9flags.mk]
|
||||
!endif
|
||||
!else
|
||||
!if [echo DX9_FLAGS =>dx9flags.mk]
|
||||
!endif
|
||||
!endif
|
||||
!if exist("dx9flags.mk")
|
||||
!include "dx9flags.mk"
|
||||
!else
|
||||
DX9_FLAGS =
|
||||
!endif
|
||||
|
||||
MW_CFLAGS = -bd -i=include -i=external/libz/include -d_MILSKO -d_MILSKO_BUILD -dUSE_GDI -dUSE_STB_IMAGE -dSTBI_NO_SIMD -dUSE_GDI_TEXT -dMW_OPENGL $(DX8_FLAGS) $(DX9_FLAGS)
|
||||
MW_LDFLAGS = system nt_dll
|
||||
EXE_CFLAGS = -i=include
|
||||
EXE_LDFLAGS = system nt
|
||||
|
|
@ -109,6 +122,7 @@ clean: .SYMBOLIC
|
|||
%erase src/widget/window.obj
|
||||
%erase src/Mw.dll
|
||||
%erase src/Mw.lib
|
||||
%erase dx9flags.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