summaryrefslogtreecommitdiff
path: root/src/Make_ming.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-01-16 21:59:36 +0000
committerBram Moolenaar <Bram@vim.org>2005-01-16 21:59:36 +0000
commit0cf6f545ac227b02bb505adc2afad97a16555ae1 (patch)
tree21d721ae3683ef9f3b1cb3fbef6d35ba9508c620 /src/Make_ming.mak
parent32e4e1f1d8117b698ae278db08778d3ff2569801 (diff)
downloadvim-git-0cf6f545ac227b02bb505adc2afad97a16555ae1.tar.gz
updated for version 7.0040
Diffstat (limited to 'src/Make_ming.mak')
-rw-r--r--src/Make_ming.mak5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Make_ming.mak b/src/Make_ming.mak
index e6bf381d0..b90cf79fb 100644
--- a/src/Make_ming.mak
+++ b/src/Make_ming.mak
@@ -223,15 +223,18 @@ ifeq ($(CROSS),yes)
# cross-compiler:
CC = i586-pc-mingw32msvc-gcc
DEL = rm
+MKDIR = mkdir -p
WINDRES = i586-pc-mingw32msvc-windres
else
# normal (Windows) compilation:
CC = gcc
ifneq (sh.exe, $(SHELL))
DEL = rm
+MKDIR = mkdir -p
DIRSLASH = /
else
DEL = del
+MKDIR = mkdir
DIRSLASH = \\
endif
WINDRES = windres
@@ -547,7 +550,7 @@ $(OUTDIR)/vimrc.o: $(OUTDIR)/vimres.res
$(WINDRES) $(OUTDIR)/vimres.res $(OUTDIR)/vimrc.o
$(OUTDIR):
- mkdir -p $(OUTDIR)
+ $(MKDIR) $(OUTDIR)
$(OUTDIR)/ex_docmd.o: ex_docmd.c $(INCL) ex_cmds.h
$(CC) -c $(CFLAGS) ex_docmd.c -o $(OUTDIR)/ex_docmd.o