Mercurial > vim
annotate src/xxd/Make_cyg.mak @ 4079:0b140173d14f
Added tag v7-3-793 for changeset fdbded463fdc
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 30 Jan 2013 17:03:30 +0100 |
parents | 4ec11bb387a5 |
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 |