Mercurial > vim
annotate src/xxd/Make_cyg.mak @ 7238:c8cdc5a88cda
Added tag v7.4.927 for changeset 2a95fa0a07b5158627e0ad2d3de23fe6ff4fe599
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 19 Nov 2015 19:45:04 +0100 |
parents | 0978e99043d2 |
children |
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 | |
5356 | 11 DEFINES = |
7 | 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 |