diff options
| author | Geoff Voelker | 1999-03-06 02:14:28 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1999-03-06 02:14:28 +0000 |
| commit | 967c164cf7b11e9e22accffccf60ee512421e40f (patch) | |
| tree | 9fee2537b7fc9b6afaaa442212d0d9035c97b50a | |
| parent | 7abbd5fe02c77560c4b17c02fc5c8c4c3efd9332 (diff) | |
| download | emacs-967c164cf7b11e9e22accffccf60ee512421e40f.tar.gz emacs-967c164cf7b11e9e22accffccf60ee512421e40f.zip | |
Compile multiple .c files when possible.
Use BLD instead of assuming i386.
| -rw-r--r-- | nt/makefile.def | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nt/makefile.def b/nt/makefile.def index 8b949ffe656..783f63fba8c 100644 --- a/nt/makefile.def +++ b/nt/makefile.def | |||
| @@ -218,3 +218,15 @@ ARCH_LDFLAGS = -align:0x1000 $(SYS_LDFLAGS) | |||
| 218 | !endif | 218 | !endif |
| 219 | !endif | 219 | !endif |
| 220 | !endif | 220 | !endif |
| 221 | |||
| 222 | # | ||
| 223 | # If the compiler supports compiling multiple .c files to .o files at | ||
| 224 | # one time, use this feature. | ||
| 225 | # | ||
| 226 | !IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)") | ||
| 227 | .c{$(BLD)}.obj: | ||
| 228 | $(CC) $(CFLAGS) -Fo$(BLD)\ $< | ||
| 229 | !ELSE | ||
| 230 | .c{$(BLD)}.obj:: | ||
| 231 | $(CC) $(CFLAGS) -Fo$(BLD)\ $< | ||
| 232 | !ENDIF | ||