Mercurial > vim
annotate src/xxd/Make_cyg.mak @ 5850:1a5ed2626b26 v7.4.268
updated for version 7.4.268
Problem: Using exists() on a funcref for a script-local function does not
work.
Solution: Translate <SNR> to the special byte sequence. Add a test.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 29 Apr 2014 14:03:02 +0200 |
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 |