-out in Make_mvc.mak

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

-out in Make_mvc.mak

Sergey Khorev
It seems latest Make_mvc.mak has a bug - it creates "vim" and "gvim"
files rather than "vim.exe" and "gvim.exe"

One can fix this with a patch:

*** Make_mvc.mak.bak Mon Jul 04 09:15:49 2005
--- Make_mvc.mak Sat Jul 09 20:18:37 2005
***************
*** 683,689 ****
 
  $(VIM).exe: $(OUTDIR) $(OBJ) $(GUI_OBJ) $(OLE_OBJ) $(OLE_IDL)
$(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(RUBY_OBJ) $(TCL_OBJ)
$(SNIFF_OBJ) $(CSCOPE_OBJ) $(NETBEANS_OBJ) $(XPM_OBJ) version.c
version.h
  $(CC) $(CFLAGS)  version.c /Fo$(OUTDIR)/version.obj $(PDB)
! $(link) $(LINKARGS1) -out:$* $(OBJ) $(GUI_OBJ) $(OLE_OBJ) \
  $(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(RUBY_OBJ) $(TCL_OBJ)
$(SNIFF_OBJ) \
  $(CSCOPE_OBJ) $(NETBEANS_OBJ) $(XPM_OBJ) \
  $(OUTDIR)\version.obj $(LINKARGS2)
--- 683,689 ----
 
  $(VIM).exe: $(OUTDIR) $(OBJ) $(GUI_OBJ) $(OLE_OBJ) $(OLE_IDL)
$(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(RUBY_OBJ) $(TCL_OBJ)
$(SNIFF_OBJ) $(CSCOPE_OBJ) $(NETBEANS_OBJ) $(XPM_OBJ) version.c
version.h
  $(CC) $(CFLAGS)  version.c /Fo$(OUTDIR)/version.obj $(PDB)
! $(link) $(LINKARGS1) -out:$(*).exe $(OBJ) $(GUI_OBJ) $(OLE_OBJ) \
  $(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(RUBY_OBJ) $(TCL_OBJ)
$(SNIFF_OBJ) \
  $(CSCOPE_OBJ) $(NETBEANS_OBJ) $(XPM_OBJ) \
  $(OUTDIR)\version.obj $(LINKARGS2)

------------------------------------------

Probably it would be better to use $(VIM).exe rather than $(*).exe.
Tested with MSVC 6 and 7.1.


--
Sergey Khorev
http://iamphet.nm.ru
Can anybody think of a good tagline I can steal?
Reply | Threaded
Open this post in threaded view
|

Re: -out in Make_mvc.mak

Sergey Khorev
Oops sorry. It seems I haven't got latest Vim7.

> It seems latest Make_mvc.mak has a bug - it creates "vim" and "gvim"
> files rather than "vim.exe" and "gvim.exe"
Reply | Threaded
Open this post in threaded view
|

Re: -out in Make_mvc.mak

Bram Moolenaar
In reply to this post by Sergey Khorev

Sergey Khorev wrote:

> It seems latest Make_mvc.mak has a bug - it creates "vim" and "gvim"
> files rather than "vim.exe" and "gvim.exe"

That's not the latest, this problem was only there for one day...

> One can fix this with a patch:

> Probably it would be better to use $(VIM).exe rather than $(*).exe.

That's what I did.

--
   GALAHAD hurries to the door and pushes through it.  As he leaves the room
   we CUT TO the reverse to show that he is now in a room full of bathing
   and romping GIRLIES, all innocent, wide-eyed and beautiful.  They smile
   enchantingly at him as he tries to keep walking without being diverted by
   the lovely sights assaulting his eyeballs.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [hidden email] -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\     Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html   ///