Mercurial > vim
annotate src/xxd/Make_cyg.mak @ 1317:45bae37de037 v7.1.031
updated for version 7.1-031
author | vimboss |
---|---|
date | Tue, 17 Jul 2007 14:32:23 +0000 |
parents | 3fc0f57ecb91 |
children | 4ec11bb387a5 |
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 | |
15 CFLAGS = -O2 -Wall -DWIN32 $(DEFINES) | |
16 | |
17 ifneq (sh.exe, $(SHELL)) | |
18 DEL = rm | |
19 else | |
20 DEL = del | |
21 endif | |
22 | |
23 xxd.exe: xxd.c | |
24 gcc $(CFLAGS) -s -o xxd.exe xxd.c $(LIBS) | |
25 | |
26 clean: | |
27 -$(DEL) xxd.exe |