diff options
author | Geoff Voelker <voelker@cs.washington.edu> | 1999-03-06 02:14:28 +0000 |
---|---|---|
committer | Geoff Voelker <voelker@cs.washington.edu> | 1999-03-06 02:14:28 +0000 |
commit | 967c164cf7b11e9e22accffccf60ee512421e40f (patch) | |
tree | 9fee2537b7fc9b6afaaa442212d0d9035c97b50a /nt/makefile.def | |
parent | 7abbd5fe02c77560c4b17c02fc5c8c4c3efd9332 (diff) | |
download | emacs-967c164cf7b11e9e22accffccf60ee512421e40f.tar.gz |
Compile multiple .c files when possible.
Use BLD instead of assuming i386.
Diffstat (limited to 'nt/makefile.def')
-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) !endif !endif !endif + +# +# If the compiler supports compiling multiple .c files to .o files at +# one time, use this feature. +# +!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)") +.c{$(BLD)}.obj: + $(CC) $(CFLAGS) -Fo$(BLD)\ $< +!ELSE +.c{$(BLD)}.obj:: + $(CC) $(CFLAGS) -Fo$(BLD)\ $< +!ENDIF |