diff options
author | Geoff Voelker <voelker@cs.washington.edu> | 1996-05-03 19:09:53 +0000 |
---|---|---|
committer | Geoff Voelker <voelker@cs.washington.edu> | 1996-05-03 19:09:53 +0000 |
commit | 42258c466da341d42f7034f6cbc0ede682559052 (patch) | |
tree | 926cc4a14375842a0d11b3d46877bcd3b955855a /nt | |
parent | e4ba7da41631ee15c422f3d8b3ef0e0046fabf2c (diff) | |
download | emacs-42258c466da341d42f7034f6cbc0ede682559052.tar.gz |
[BUILD_TYPE]: Build optimized version in its own dir.
(ARCH_CFLAGS) [BUILD_TYPE == spd]: Build optimized version.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/makefile.def | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nt/makefile.def b/nt/makefile.def index ba77a54a493..e83b0b71b07 100644 --- a/nt/makefile.def +++ b/nt/makefile.def @@ -140,7 +140,11 @@ CFLAGS = $(CFLAGS_COMMON) 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 @@ EMACS_ICON_PATH = ..\nt\emacs.ico 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 |