Mercurial > vim
annotate src/xxd/Make_cyg.mak @ 2088:4ec11bb387a5 v7.2.372
updated for version 7.2.372
Problem: Cross-compiling GvimExt and xxd doesn't work.
Solution: Change the build files. (Markus Heidelberg)
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Wed, 24 Feb 2010 15:08:27 +0100 |
parents | 3fc0f57ecb91 |
children | 0978e99043d2 |
rev | line source |
---|---|
7 | 1 # The most simplistic Makefile, for Cygnus gcc on MS-DOS |
2 | |
3 ifndef USEDLL | |
4 USEDLL = no | |
5 endif | |
6 | |
7 ifeq (yes, $(USEDLL)) | |
8 DEFINES = | |
9 LIBS = -lc | |
10 else | |
11 DEFINES = -mno-cygwin | |
12 LIBS = | |
13 endif | |
14 | |
2088 | 15 CC = gcc |
7 | 16 CFLAGS = -O2 -Wall -DWIN32 $(DEFINES) |
17 | |
18 ifneq (sh.exe, $(SHELL)) | |
19 DEL = rm | |
20 else | |
21 DEL = del | |
22 endif | |
23 | |
24 xxd.exe: xxd.c | |
2088 | 25 $(CC) $(CFLAGS) -s -o xxd.exe xxd.c $(LIBS) |
7 | 26 |
27 clean: | |
28 -$(DEL) xxd.exe |