1 # build debug version of ezgdi
4 # dynamic linking to freetype.dll
7 # specify directories for
8 # use visual c++ x64 cross tools
11 # link to easyhook debug lib for debug version
14 # specify directories for EasyHook
16 EASYHOOK_INCDIR
= ..\easyhook-2.6\public
17 # x86\easyhook32.lib x64\easyhook64.lib
18 EASYHOOK_LIBDIR
= $(EASYHOOK_INCDIR
)
20 # specify directories for FreeType
21 FREETYPE_DIR
= ..
\freetype
-2.3.12
23 FREETYPE_INCDIR
= $(FREETYPE_DIR
)\
include
24 # freetype32.lib freetype64.lib, see README
25 FREETYPE_LIBDIR
= $(FREETYPE_DIR
)
27 FREETYPE_SRCDIR
= $(FREETYPE_DIR
)\src
29 # use detours in 32-bit version
32 # specify directories for detours
34 DETOURS_INCDIR
= ..\detours\
include
35 # detours.lib detoured.lib
36 DETOURS_LIBDIR
= ..\detours\lib
38 # use intel compiler to compile
42 # you may not want to modify following lines
51 LIB
= $(VCINSTALLDIR
)\ATLMFC\LIB
\amd
64;$(VCINSTALLDIR
)\LIB
\amd
64;$(WINDOWSSDKDIR
)\LIB
\x64
53 LIB
= $(VCINSTALLDIR
)\ATLMFC\LIB
;$(VCINSTALLDIR
)\LIB
;$(WINDOWSSDKDIR
)\LIB
58 LIB
= $(ICPP_COMPILER11
)\tbb\em64t
\vc
9\lib
;$(ICPP_COMPILER11
)\lib\intel64
;$(LIB
)
60 LIB
= $(ICPP_COMPILER11
)\tbb\ia32
\vc
9\lib
;$(ICPP_COMPILER11
)\lib\ia32
;$(LIB
)
66 CFLAGS_DEBUG
= /Od
/MTd
/FD
/RTC1
/Zi
/W4
/DDEBUG
/D_DEBUG
67 LDFLAGS_DEBUG
= /incremental
:no
/debug
/opt
:ref
/opt
:noicf
/map
/nodefaultlib
:libcmt
70 LDFLAGS
= /opt
:icf
/opt
:ref
71 CFLAGS
= /GS-
/MT
/O3
/QaxSSE2
,SSE3
,SSE3
,SSE4.1
/Qipo
/Qprec-div-
/W4
/DNDEBUG
72 CFLAGS_SAFE
= /GS-
/MT
/O1
/GF
/Gs
/Og
/Os
/Oi-
/Gy
/Ob2
/QaxSSE2
,SSE3
,SSE3
,SSE4.1
/Qipo
/Qprec-div-
/W4
/DNDEBUG
74 CFLAGS_SAFE
= $(CFLAGS_SAFE
) /Oy
77 LDFLAGS
= /opt
:icf
/opt
:ref
/ltcg
78 CFLAGS_SAFE
= /GF
/GL
/GS-
/Gy
/MT
/O2
/Oi
/Ot
/W4
/DNDEBUG
80 CFLAGS_SAFE
= /arch
:SSE2
$(CFLAGS_SAFE
)
86 CC
= "$(ICPP_COMPILER11)\bin\intel64\icl.exe"
87 LD
= "$(ICPP_COMPILER11)\bin\intel64\xilink.exe"
89 CC
= "$(ICPP_COMPILER11)\bin\ia32\icl.exe"
90 LD
= "$(ICPP_COMPILER11)\bin\ia32\xilink.exe"
94 CC
= "$(VCINSTALLDIR)\BIN\cl.exe"
95 LD
= "$(VCINSTALLDIR)\BIN\link.exe"
96 ! elseifdef USE_VCX64CROSS
97 CC
= "$(VCINSTALLDIR)\BIN\x86_amd64\cl.exe"
98 LD
= "$(VCINSTALLDIR)\BIN\x86_amd64\link.exe"
100 CC
= "$(VCINSTALLDIR)\BIN\amd64\cl.exe"
101 LD
= "$(VCINSTALLDIR)\BIN\amd64\link.exe"