annotate src/xxd/Make_cyg.mak @ 7534:0765665083be v7.4.1068

commit https://github.com/vim/vim/commit/71bcfdf30109c3d6e40d143adcaf33964b18a70b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 9 18:20:46 2016 +0100 patch 7.4.1068 Problem: Wrong way to check for unletting internal variables. Solution: Use a better way. (Olaf Dabrunz)
author Christian Brabandt <cb@256bit.org>
date Sat, 09 Jan 2016 18:30:05 +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