Mercurial > vim
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 |
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 |