From 27d3ec7f872059482c2f01fa62ad3f126b6c0ffe Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Wed, 27 Jan 1999 21:49:57 +0000 Subject: [PATCH] Do make version comparison as strings. --- lib-src/makefile.nt | 2 +- nt/makefile.nt | 2 +- src/makefile.nt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib-src/makefile.nt b/lib-src/makefile.nt index 7cf6a979fe0..e3c1a2ef5de 100644 --- a/lib-src/makefile.nt +++ b/lib-src/makefile.nt @@ -217,7 +217,7 @@ $(DOC): $(BLD)\make-docfile.exe {$(BLD)}.obj{$(BLD)}.exe: $(LINK) -out:$@ $(LINK_FLAGS) $*.obj $(LIBS) -!IF ($(_NMAKE_VER) == $(_NMAKE_VER_4)) +!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)") .c{$(BLD)}.obj: $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $< !ELSE diff --git a/nt/makefile.nt b/nt/makefile.nt index 122fadcaeed..8aba47dacb1 100644 --- a/nt/makefile.nt +++ b/nt/makefile.nt @@ -29,7 +29,7 @@ TRES = $(BLD)\emacs.res TRES = $(BLD)\emacs.rbj !endif -!IF ($(_NMAKE_VER) == $(_NMAKE_VER_4)) +!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)") .c{$(BLD)}.obj: $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $< !ELSE diff --git a/src/makefile.nt b/src/makefile.nt index 787018e4fce..65d763b4470 100644 --- a/src/makefile.nt +++ b/src/makefile.nt @@ -248,7 +248,7 @@ $(TLASTLIB): $(BLD)\lastfile.obj # # Object files. # -!IF ($(_NMAKE_VER) == $(_NMAKE_VER_4)) +!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)") .c{$(BLD)}.obj: $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $< !ELSE -- 2.39.2