You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.1 KiB
52 lines
1.1 KiB
!ifndef DXGROOT
|
|
DXGROOT = $(DXROOT)\dxg
|
|
!endif
|
|
|
|
!ifndef D3DROOT
|
|
D3DROOT = $(DXGROOT)\d3d
|
|
!endif
|
|
|
|
!ifndef DDROOT
|
|
DDROOT = $(DXGROOT)\dd
|
|
!endif
|
|
|
|
!ifndef D3DDX6
|
|
D3DDX6 = $(D3DROOT)\dx6
|
|
!endif
|
|
|
|
!if "$(WANTASM)" == "" && ("$(PLAT_DIR)" == "win9x" && !($(ALPHA)||$(AXP64)||$(IA64)))
|
|
WANTASM = 1
|
|
!endif
|
|
|
|
!if ("$(WANTASM)" == "1")
|
|
WANT_ASM_DEFINES = -DWANT_ASM=1
|
|
!else
|
|
WANT_ASM_DEFINES = -DWANT_ASM=0
|
|
!endif
|
|
|
|
C_DEFINES = $(C_DEFINES) \
|
|
-DD3D \
|
|
-DMSBUILD \
|
|
-DIS_32 \
|
|
-DWIN32 \
|
|
$(WANT_ASM_DEFINES)
|
|
|
|
!if "$(USE_ICECAP)" != ""
|
|
C_DEFINES = $(C_DEFINES) -DPROFILE=1
|
|
ASM_DEFINES = $(ASM_DEFINES) -DPROFILE=1
|
|
!endif
|
|
|
|
386_STDCALL = 0
|
|
|
|
INCLUDES = \
|
|
$(D3DDX6)\inc; \
|
|
$(D3DDX6)\d3dim\inc; \
|
|
$(D3DDX6)\d3dutil; \
|
|
$(DDROOT)\ddraw\main; \
|
|
$(DDROOT)\ddraw\ddhelp; \
|
|
$(DXGROOT)\misc; \
|
|
$(DXGROOT)\inc; \
|
|
$(DXGROOT)\dd\ddraw\inc;\
|
|
$(DXROOT)\inc; \
|
|
$(INCLUDES)
|
|
|