summaryrefslogtreecommitdiffstats
path: root/src/Make_cyg.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-01-08 16:04:29 +0000
committerBram Moolenaar <Bram@vim.org>2005-01-08 16:04:29 +0000
commitcf3630f2d0d908f637f1d577a0cfd720987d35f0 (patch)
treee673fe5ef38ab133ff1001265c971237c11e9a31 /src/Make_cyg.mak
parent0d6602271c5d1954e7803a3f857d0f5d42851f84 (diff)
updated for version 7.0034
Diffstat (limited to 'src/Make_cyg.mak')
-rw-r--r--src/Make_cyg.mak20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/Make_cyg.mak b/src/Make_cyg.mak
index f2e4c5a2cf..0ea3fa499f 100644
--- a/src/Make_cyg.mak
+++ b/src/Make_cyg.mak
@@ -1,6 +1,6 @@
#
# Makefile for VIM on Win32, using Cygnus gcc
-# Last updated by Dan Sharp. Last Change: 2004 Dec 17
+# Last updated by Dan Sharp. Last Change: 2005 Jan 08
#
# This compiles Vim as a Windows application. If you want Vim to run as a
# Cygwin application use the Makefile (just like on Unix).
@@ -430,7 +430,7 @@ tags:
clean:
-$(DEL) $(OUTDIR)$(DIRSLASH)*.o
-rmdir $(OUTDIR)
- -$(DEL) *.exe
+ -$(DEL) $(EXE) vimrun.exe install.exe uninstal.exe
ifdef PERL
-$(DEL) if_perl.c
endif
@@ -438,6 +438,17 @@ endif
$(MAKE) -C xxd -f Make_cyg.mak clean
$(MAKE) -C GvimExt -f Make_ming.mak clean
+distclean: clean
+ -$(DEL) obj$(DIRSLASH)*.o
+ -rmdir obj
+ -$(DEL) gobj$(DIRSLASH)*.o
+ -rmdir gobj
+ -$(DEL) objd$(DIRSLASH)*.o
+ -rmdir objd
+ -$(DEL) gobjd$(DIRSLASH)*.o
+ -rmdir gobjd
+ -$(DEL) *.exe
+
###########################################################################
$(OUTDIR)/%.o : %.c $(INCL)
@@ -456,8 +467,9 @@ $(OUTDIR)/if_ole.o: if_ole.cpp $(INCL)
$(CC) -c $(CFLAGS) -D__IID_DEFINED__ if_ole.cpp -o $(OUTDIR)/if_ole.o
if_perl.c: if_perl.xs typemap
- perl $(PERL)/lib/ExtUtils/xsubpp -prototypes -typemap \
- $(PERL)/lib/ExtUtils/typemap if_perl.xs > $@
+ $(PERL)/bin/perl `cygpath -d $(PERL)/lib/ExtUtils/xsubpp` \
+ -prototypes -typemap \
+ `cygpath -d $(PERL)/lib/ExtUtils/typemap` if_perl.xs > $@
$(OUTDIR)/if_perl.o: if_perl.c $(INCL)
ifeq (yes, $(USEDLL))