diff options
Diffstat (limited to 'CPP/Build.mak')
-rwxr-xr-x | CPP/Build.mak | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/CPP/Build.mak b/CPP/Build.mak index 4f25c853..aea13a71 100755 --- a/CPP/Build.mak +++ b/CPP/Build.mak @@ -11,7 +11,18 @@ O=O !ENDIF !ENDIF -CFLAGS = $(CFLAGS) -nologo -c -Fo$O/ -EHsc -Gz -WX +!IF "$(CPU)" != "IA64" +!IF "$(CPU)" != "AMD64" +MY_ML = ml +!ELSE +MY_ML = ml64 +!ENDIF +!ENDIF + +COMPL_ASM = $(MY_ML) -c -Fo$O/ $** + +CFLAGS = $(CFLAGS) -nologo -c -Fo$O/ -EHsc -Gz -WX -Gy + !IFDEF MY_STATIC_LINK !IFNDEF MY_SINGLE_THREAD CFLAGS = $(CFLAGS) -MT @@ -31,7 +42,7 @@ CFLAGS_O2 = $(CFLAGS) -O2 -W3 CFLAGS_O1_W3 = $(CFLAGS) -O1 -W3 CFLAGS_O2_W3 = $(CFLAGS) -O2 -W3 -LFLAGS = $(LFLAGS) -nologo -OPT:NOWIN98 +LFLAGS = $(LFLAGS) -nologo -OPT:NOWIN98 -OPT:REF !IFDEF DEF_FILE LFLAGS = $(LFLAGS) -DLL -DEF:$(DEF_FILE) |