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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 # The most simplistic Makefile, for Cygnus gcc on MS-DOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 ifndef USEDLL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 USEDLL = no
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 ifeq (yes, $(USEDLL))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 DEFINES =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 LIBS = -lc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 else
5356
0978e99043d2 updated for version 7.4.030
Bram Moolenaar <bram@vim.org>
parents: 2088
diff changeset
11 DEFINES =
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 LIBS =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
2088
4ec11bb387a5 updated for version 7.2.372
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
15 CC = gcc
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 CFLAGS = -O2 -Wall -DWIN32 $(DEFINES)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 ifneq (sh.exe, $(SHELL))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 DEL = rm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 DEL = del
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 xxd.exe: xxd.c
2088
4ec11bb387a5 updated for version 7.2.372
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
25 $(CC) $(CFLAGS) -s -o xxd.exe xxd.c $(LIBS)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 clean:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 -$(DEL) xxd.exe