changeset 15156:69941576c244

[BUILD_TYPE]: Build optimized version in its own dir. (ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
author Geoff Voelker <voelker@cs.washington.edu>
date Fri, 03 May 1996 19:09:53 +0000
parents b86cf87b8277
children 170295263e96
files nt/makefile.def
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nt/makefile.def	Fri May 03 19:09:36 1996 +0000
+++ b/nt/makefile.def	Fri May 03 19:09:53 1996 +0000
@@ -140,7 +140,11 @@
 CFLAGS          = $(CFLAGS) -DHAVE_NTGUI=1
 !endif
 
+!ifdef BUILD_TYPE
+OBJDIR          = obj-$(BUILD_TYPE)
+!else
 OBJDIR          = obj
+!endif
 $(OBJDIR):;	-mkdir $(OBJDIR)
 BLD             = $(OBJDIR)\$(ARCH)
 $(BLD):         $(OBJDIR)
@@ -165,7 +169,11 @@
 ADDPM		= ..\nt\$(BLD)\addpm.exe
 
 !if "$(ARCH)" == "i386"
+!if "$(BUILD_TYPE)" == "spd"
+ARCH_CFLAGS     = -nologo -D_X86_=1 -c -Zel -W2 -H63 -O2b2 -G5d -Zi
+!else
 ARCH_CFLAGS     = -nologo -D_X86_=1 -c -Zel -W2 -H63 -G3d -Zi -Od
+!endif
 ARCH_LDFLAGS	= -align:0x1000 $(SYS_LDFLAGS)
 
 !else