Mercurial > vim
comparison src/Make_cyg.mak @ 84:60834e43d187
updated for version 7.0034
author | vimboss |
---|---|
date | Sat, 08 Jan 2005 16:04:29 +0000 |
parents | 410fa1a31baf |
children | 5490bff158e4 |
comparison
equal
deleted
inserted
replaced
83:d9030055c432 | 84:60834e43d187 |
---|---|
1 # | 1 # |
2 # Makefile for VIM on Win32, using Cygnus gcc | 2 # Makefile for VIM on Win32, using Cygnus gcc |
3 # Last updated by Dan Sharp. Last Change: 2004 Dec 17 | 3 # Last updated by Dan Sharp. Last Change: 2005 Jan 08 |
4 # | 4 # |
5 # This compiles Vim as a Windows application. If you want Vim to run as a | 5 # This compiles Vim as a Windows application. If you want Vim to run as a |
6 # Cygwin application use the Makefile (just like on Unix). | 6 # Cygwin application use the Makefile (just like on Unix). |
7 # | 7 # |
8 # GUI no or yes: set to yes if you want the GUI version (yes) | 8 # GUI no or yes: set to yes if you want the GUI version (yes) |
428 command /c ctags *.c $(INCL) | 428 command /c ctags *.c $(INCL) |
429 | 429 |
430 clean: | 430 clean: |
431 -$(DEL) $(OUTDIR)$(DIRSLASH)*.o | 431 -$(DEL) $(OUTDIR)$(DIRSLASH)*.o |
432 -rmdir $(OUTDIR) | 432 -rmdir $(OUTDIR) |
433 -$(DEL) *.exe | 433 -$(DEL) $(EXE) vimrun.exe install.exe uninstal.exe |
434 ifdef PERL | 434 ifdef PERL |
435 -$(DEL) if_perl.c | 435 -$(DEL) if_perl.c |
436 endif | 436 endif |
437 -$(DEL) pathdef.c | 437 -$(DEL) pathdef.c |
438 $(MAKE) -C xxd -f Make_cyg.mak clean | 438 $(MAKE) -C xxd -f Make_cyg.mak clean |
439 $(MAKE) -C GvimExt -f Make_ming.mak clean | 439 $(MAKE) -C GvimExt -f Make_ming.mak clean |
440 | 440 |
441 distclean: clean | |
442 -$(DEL) obj$(DIRSLASH)*.o | |
443 -rmdir obj | |
444 -$(DEL) gobj$(DIRSLASH)*.o | |
445 -rmdir gobj | |
446 -$(DEL) objd$(DIRSLASH)*.o | |
447 -rmdir objd | |
448 -$(DEL) gobjd$(DIRSLASH)*.o | |
449 -rmdir gobjd | |
450 -$(DEL) *.exe | |
451 | |
441 ########################################################################### | 452 ########################################################################### |
442 | 453 |
443 $(OUTDIR)/%.o : %.c $(INCL) | 454 $(OUTDIR)/%.o : %.c $(INCL) |
444 $(CC) -c $(CFLAGS) $< -o $@ | 455 $(CC) -c $(CFLAGS) $< -o $@ |
445 | 456 |
454 | 465 |
455 $(OUTDIR)/if_ole.o: if_ole.cpp $(INCL) | 466 $(OUTDIR)/if_ole.o: if_ole.cpp $(INCL) |
456 $(CC) -c $(CFLAGS) -D__IID_DEFINED__ if_ole.cpp -o $(OUTDIR)/if_ole.o | 467 $(CC) -c $(CFLAGS) -D__IID_DEFINED__ if_ole.cpp -o $(OUTDIR)/if_ole.o |
457 | 468 |
458 if_perl.c: if_perl.xs typemap | 469 if_perl.c: if_perl.xs typemap |
459 perl $(PERL)/lib/ExtUtils/xsubpp -prototypes -typemap \ | 470 $(PERL)/bin/perl `cygpath -d $(PERL)/lib/ExtUtils/xsubpp` \ |
460 $(PERL)/lib/ExtUtils/typemap if_perl.xs > $@ | 471 -prototypes -typemap \ |
472 `cygpath -d $(PERL)/lib/ExtUtils/typemap` if_perl.xs > $@ | |
461 | 473 |
462 $(OUTDIR)/if_perl.o: if_perl.c $(INCL) | 474 $(OUTDIR)/if_perl.o: if_perl.c $(INCL) |
463 ifeq (yes, $(USEDLL)) | 475 ifeq (yes, $(USEDLL)) |
464 $(CC) -c $(CFLAGS) -I/usr/include/mingw -D__MINGW32__ if_perl.c -o $(OUTDIR)/if_perl.o | 476 $(CC) -c $(CFLAGS) -I/usr/include/mingw -D__MINGW32__ if_perl.c -o $(OUTDIR)/if_perl.o |
465 endif | 477 endif |